2024-04-28 19:33:10 +00:00
|
|
|
const path = require('path');
|
|
|
|
|
|
|
|
module.exports = {
|
2024-07-07 17:07:18 +00:00
|
|
|
mode: 'production',
|
|
|
|
context: path.resolve(__dirname, 'frontend', '.js'),
|
2024-04-28 19:33:10 +00:00
|
|
|
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'),
|
2024-08-04 17:48:51 +00:00
|
|
|
},
|
|
|
|
optimization: {
|
|
|
|
minimize: false,
|
2024-04-28 19:33:10 +00:00
|
|
|
}
|
2024-07-07 17:07:18 +00:00
|
|
|
}
|