underbbs/webpack.config.js

18 lines
352 B
JavaScript
Raw Normal View History

const path = require('path');
module.exports = {
2024-07-07 17:07:18 +00:00
mode: 'production',
context: path.resolve(__dirname, 'frontend', '.js'),
entry: {
main: './index.js',
2024-07-07 17:07:18 +00:00
serviceWorker: './serviceWorker.js',
},
output: {
filename: '[name].js',
path: path.resolve(__dirname, 'frontend', 'dist'),
},
optimization: {
minimize: false,
}
2024-07-07 17:07:18 +00:00
}