guida-fediverso/themes/starter/webpack.config.js

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$/
},
],
}
};