fediparty/themes/starter/webpack.config.js
2019-01-15 02:01:54 +03:00

20 lines
313 B
JavaScript

const UglifyJsPlugin = require('../../node_modules/uglifyjs-webpack-plugin');
module.exports = {
mode: 'production',
entry: {
main: './source/assets/scripts/crystalball'
},
output: {
filename: 'ball.min.js',
},
module: {
rules: [
{
test: /\.js$/
},
],
}
};