From 745b294ca1c59a7304620060c0021da53871d799 Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Mon, 17 Feb 2025 23:01:55 +0100 Subject: [PATCH] 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 --- webpack.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.ts b/webpack.config.ts index bd16bbaec..3b2e45353 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -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: [