Output Management
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
entry: './src/index.js',
|
||||
entry: {
|
||||
app: './src/index.js',
|
||||
print: './src/print.js'
|
||||
},
|
||||
output: {
|
||||
filename: 'main.js',
|
||||
filename: '[name].bundle.js',
|
||||
path: path.resolve(__dirname, 'dist')
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user