Skip to content

Commit bcaac7b

Browse files
committed
enable uglifyjs
1 parent 732a2b4 commit bcaac7b

File tree

3 files changed

+7
-52
lines changed

3 files changed

+7
-52
lines changed

bundle.js

+1-51
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundle.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webpack.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ module.exports = {
3333
return [atImport, nesting, precss, autoprefixer]
3434
},
3535
plugins: [
36+
new webpack.optimize.UglifyJsPlugin({
37+
compress: {
38+
warnings: false
39+
}
40+
}),
3641
new BrowserSync({
3742
host: 'localhost',
3843
port: 3000,

0 commit comments

Comments
 (0)