Fixed webpack output folders
This commit is contained in:
parent
15bd1ebebb
commit
a348a45e51
@ -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
|
||||
}
|
||||
};
|
||||
};
|
||||
|
@ -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"
|
||||
})
|
||||
]
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user