Created
March 3, 2018 05:45
-
-
Save a1exlism/46cee585ca259a29390fd2cedb18d8ac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const webpack = require('webpack'); | |
const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); | |
module.exports = { | |
entry = './main.js', | |
output: { | |
filename: 'bundle.js', | |
}, | |
plugins: [ | |
new UglifyJsPlugin(); | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment