Skip to content

Commit db3ae0d

Browse files
committed
only build commonjs on prepublish
1 parent 41e00b4 commit db3ae0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build:commonjs": "babel src/ --out-dir lib/ --ignore __tests__,__mocks__",
99
"build:umd": "webpack --devtool source-map --config webpack.build.js",
1010
"build:umd:min": "cross-env MINIFY=1 webpack --devtool source-map --config webpack.build.js",
11-
"build": "npm run clean && npm run build:commonjs && npm run bundle",
11+
"build": "npm run clean && npm run build:commonjs",
1212
"bundle": "mkdir -p dist && npm run build:umd && npm run build:umd:min",
1313
"lint": "eslint src",
1414
"preversion": "npm run lint && npm test && npm run bundle && git add dist/ && git commit -m 'Publish: build bower distribution'",

0 commit comments

Comments
 (0)