rename
This commit is contained in:
parent
102d0a7d7a
commit
13e3d5eb73
|
@ -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'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user