Skip to content
This repository was archived by the owner on Mar 8, 2023. It is now read-only.

Commit 151d8aa

Browse files
committed
Config fix;
1 parent 02fb1bb commit 151d8aa

File tree

3 files changed

+4
-330
lines changed

3 files changed

+4
-330
lines changed

lib/bundle.js

Lines changed: 1 addition & 328 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
},
1515
"scripts": {
1616
"test": "xo && ava",
17-
"prepublish": "webpack --progress --colors --display-error-details --config webpack.config.js"
17+
"build": "webpack --progress --colors --display-error-details --config webpack.config.js",
18+
"prepublish": "npm run build"
1819
},
1920
"files": [
2021
"index.js"

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ module.exports = {
1717
]
1818
},
1919
plugins: [
20-
// new UglifyJSPlugin()
20+
new UglifyJSPlugin()
2121
],
2222
};

0 commit comments

Comments
 (0)