Skip to content

Commit b47fac3

Browse files
committed
Correct package entry points
1 parent c9c27b6 commit b47fac3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
"name": "react-truncate",
33
"version": "2.0.5",
44
"description": "React component for truncating multi-line spans and adding an ellipsis",
5-
"main": "lib/Truncate.js",
6-
"module": "src/Truncate.js",
5+
"main": "lib/Truncate.CommonJS.js",
6+
"module": "lib/Truncate.js",
77
"files": [
8-
"lib",
9-
"src"
8+
"lib"
109
],
1110
"scripts": {
1211
"compile": "mkdir lib; babel ./src --out-file ./lib/Truncate.js && BABEL_ENV=CommonJS babel ./src --out-file ./lib/Truncate.CommonJS.js",

0 commit comments

Comments
 (0)