Fixed webpack output folders

This commit is contained in:
Alex Mikhalev 2017-05-08 09:34:12 -06:00
parent 15bd1ebebb
commit a348a45e51
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ module.exports = {
],
devtool: "inline-source-map",
output: {
path: path.resolve(__dirname, "build"),
path: path.resolve(__dirname, "../build"),
filename: "bundle.js"
},
resolve: {
@ -37,4 +37,4 @@ module.exports = {
devServer: {
hot: true
}
};
};

View File

@ -8,7 +8,7 @@ module.exports = {
],
devtool: "none",
output: {
path: path.resolve(__dirname, "dist"),
path: path.resolve(__dirname, "../dist"),
filename: "bundle.js"
},
resolve: {
@ -29,4 +29,4 @@ module.exports = {
template: "./app/index.html"
})
]
};
};