This commit is contained in:
Synox 2016-09-14 17:19:18 +02:00
parent 102d0a7d7a
commit 13e3d5eb73
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ var TARGET = process.env.npm_lifecycle_event;
const commonConfig = { const commonConfig = {
context: path.resolve(__dirname, 'src'), context: path.resolve(__dirname, 'src'),
entry: [ entry: [
'./app.js' './index.js'
], ],
output: { output: {
path: path.join(__dirname, 'dist'), path: path.join(__dirname, 'dist'),
@ -110,7 +110,7 @@ switch (TARGET) {
config.entry = [ config.entry = [
'webpack-dev-server/client?http://localhost:3000', 'webpack-dev-server/client?http://localhost:3000',
'webpack/hot/only-dev-server', 'webpack/hot/only-dev-server',
'./app.js' './index.js'
]; ];
} }