15 lines
302 B
JavaScript
15 lines
302 B
JavaScript
|
const path = require('path');
|
||
|
const webpack = require('webpack');
|
||
|
|
||
|
module.exports = {
|
||
|
target: "web",
|
||
|
entry: {
|
||
|
app: ["./js/index.js"]
|
||
|
},
|
||
|
watch: false,
|
||
|
output:{
|
||
|
path: path.resolve(__dirname, "public/dist"),
|
||
|
filename: "index.js",
|
||
|
},
|
||
|
mode: "production"
|
||
|
}
|