17 lines
352 B
JavaScript
17 lines
352 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
mode: 'production',
|
|
context: path.resolve(__dirname, 'frontend', '.js'),
|
|
entry: {
|
|
main: './index.js',
|
|
serviceWorker: './serviceWorker.js',
|
|
},
|
|
output: {
|
|
filename: '[name].js',
|
|
path: path.resolve(__dirname, 'frontend', 'dist'),
|
|
},
|
|
optimization: {
|
|
minimize: false,
|
|
}
|
|
}
|