configure webpack
This commit is contained in:
parent
f034f29d94
commit
5b6ab8779e
1 changed files with 12 additions and 0 deletions
12
webpack.config.js
Normal file
12
webpack.config.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
invite: './src/front/pages/invite.js',
|
||||
},
|
||||
output: {
|
||||
filename: '[name].bundle.js',
|
||||
path: path.resolve(__dirname, 'public'),
|
||||
},
|
||||
mode: 'development',
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue