build(webpack): output webpack build in build folder

output the bundled files directly in the build folder
a) keeps the src folder clean from build output
b) it saves us some "manual" copying work
This commit is contained in:
Panagiotis Papadopoulos 2025-02-17 23:01:55 +01:00 committed by Panagiotis Papadopoulos
parent cefc402263
commit 745b294ca1

View File

@ -19,7 +19,7 @@ const config: Configuration = {
},
output: {
publicPath: `${assetPath}/app-dist/`,
path: path.resolve(rootDir, "src/public/app-dist"),
path: path.resolve(rootDir, "build/src/public/app-dist"),
filename: "[name].js"
},
plugins: [