hacking fool!

This commit is contained in:
Micah Godbolt
2019-02-08 15:20:11 -08:00
parent 1b7775d784
commit 6d1f93c441
7 changed files with 52 additions and 6 deletions

View File

@@ -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
}
};
});