9 lines
200 B
JavaScript
9 lines
200 B
JavaScript
const path = require("path");
|
|
module.exports = {
|
|
entry: "./src/index.js",
|
|
output: {
|
|
filename: 'main.js',
|
|
path: path.resolve(__dirname, 'dist'),
|
|
},
|
|
mode: "production"
|
|
}
|