mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
hacking fool!
This commit is contained in:
@@ -3,7 +3,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
|
||||
const entries = {
|
||||
step01: './step01/index',
|
||||
step02: './step02/src/index',
|
||||
step02: './step02/index',
|
||||
playground: './playground/src/index'
|
||||
};
|
||||
|
||||
@@ -32,6 +32,10 @@ module.exports = Object.keys(entries).map(entryPoint => {
|
||||
output: {
|
||||
filename: '[name].js',
|
||||
path: path.resolve(__dirname, entryPoint, 'dist')
|
||||
},
|
||||
devServer: {
|
||||
contentBase: path.resolve(__dirname),
|
||||
watchContentBase: true
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user