Fix missing assets in webapp

This commit is contained in:
Sebastian Sdorra
2020-12-22 14:53:45 +01:00
committed by René Pfeuffer
parent 224e9eabe5
commit b26a687508
2 changed files with 5 additions and 4 deletions

View File

@@ -114,7 +114,7 @@ module.exports = [
extensions: [".ts", ".tsx", ".js", ".jsx", ".css", ".scss", ".json"]
},
output: {
path: path.join(root, "build", "assets"),
path: path.join(root, "build", "webapp", "assets"),
filename: "[name].bundle.js",
chunkFilename: "[name].bundle.js"
},
@@ -190,7 +190,7 @@ module.exports = [
minimizer: [new OptimizeCSSAssetsPlugin({})]
},
output: {
path: path.join(root, "build", "assets"),
path: path.join(root, "build", "webapp", "assets"),
filename: "ui-styles.bundle.js"
}
},
@@ -200,7 +200,7 @@ module.exports = [
polyfills: "./ui-polyfill/src/index.js"
},
output: {
path: path.resolve(root, "build", "assets"),
path: path.resolve(root, "build", "webapp", "assets"),
filename: "[name].bundle.js"
}
}