Skip to content

Commit d440808

Browse files
committed
fix(package): Fix path in main for library and add --copy-files in build script so that non js files
1 parent 8238d24 commit d440808

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-tag-input",
33
"version": "0.0.0-semantically-released",
44
"description": "React tags is a fantastically simple tagging component for your React projects",
5-
"main": "dist-modules/ReactTags.js",
5+
"main": "dist-modules/components/ReactTags.js",
66
"files": [
77
"dist-modules",
88
"dist"
@@ -13,7 +13,7 @@
1313
"test:watch": "jest --watch --notify --coverage",
1414
"start": "webpack-dev-server --config webpack-dev-server.config.js --progress --inline --colors",
1515
"format": "prettier --write src/*.js __tests__/*.js",
16-
"build": "webpack --config webpack-production.config.js --progress --colors && babel src --out-dir dist-modules",
16+
"build": "webpack --config webpack-production.config.js --progress --colors && babel src --out-dir dist-modules --copy-files",
1717
"precommit": "./set_up_hooks.sh",
1818
"semantic-release": "semantic-release",
1919
"commit": "git-cz"

0 commit comments

Comments
 (0)