This commit is contained in:
Andrew Sliwinski 2016-04-18 17:20:30 -04:00
parent 655556273a
commit f9f47ed103
20 changed files with 2113 additions and 13 deletions

18
webpack.config.js Normal file
View file

@ -0,0 +1,18 @@
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
})
]
};