Browse Source

Fixed webpack output folders

update-deps
Alex Mikhalev 8 years ago
parent
commit
a348a45e51
  1. 4
      webpack/dev.config.js
  2. 4
      webpack/prod.config.js

4
webpack/dev.config.js

@ -11,7 +11,7 @@ module.exports = { @@ -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 = { @@ -37,4 +37,4 @@ module.exports = {
devServer: {
hot: true
}
};
};

4
webpack/prod.config.js

@ -8,7 +8,7 @@ module.exports = { @@ -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 = { @@ -29,4 +29,4 @@ module.exports = {
template: "./app/index.html"
})
]
};
};

Loading…
Cancel
Save