mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-03-18 11:20:21 -04:00
19 lines
360 B
JavaScript
19 lines
360 B
JavaScript
|
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
|
||
|
})
|
||
|
]
|
||
|
};
|