scratch-vm/webpack.config.js

19 lines
360 B
JavaScript
Raw Normal View History

2016-04-18 17:20:30 -04:00
var webpack = require('webpack');
module.exports = {
entry: {
'vm': './src/index.js',
'vm.min': './src/index.js'
},
output: {
path: __dirname,
filename: '[name].js'
},
plugins: [
new webpack.optimize.UglifyJsPlugin({
include: /\.min\.js$/,
minimize: true
})
]
};