Build to the 'webapp' directory instead

People may have config files in vector/ so it would be nonideal
if we started overwriting them / blowing them away.
This commit is contained in:
David Baker 2016-11-08 15:46:21 +00:00
parent a4c16b896b
commit 5b7f629996
4 changed files with 15 additions and 14 deletions

View file

@ -39,7 +39,7 @@ module.exports = {
],
},
output: {
path: path.join(__dirname, "vector"),
path: path.join(__dirname, "webapp"),
filename: "[name].[chunkhash].js",
devtoolModuleFilenameTemplate: function(info) {
// Reading input source maps gives only relative paths here for
@ -98,8 +98,8 @@ module.exports = {
// configuration for the webpack-dev-server
devServer: {
// serve unwebpacked assets from vector.
contentBase: './vector',
// serve unwebpacked assets from webapp.
contentBase: './webapp',
},
};