12 lines
183 B
JavaScript
12 lines
183 B
JavaScript
const webpack = require('webpack');
|
|
|
|
module.exports = {
|
|
entry: './main.js',
|
|
output: {
|
|
filename: 'bundle.js'
|
|
},
|
|
plugins: [
|
|
new webpack.optimize.UglifyJsPlugin()
|
|
]
|
|
};
|