From 5e289ea12dc840dc5564b497622b57051949f380 Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Mon, 3 Mar 2025 08:40:43 +0100 Subject: [PATCH] build: get rid of intermediary "build" folder -> use "dist" directly --- tsconfig.build.json | 2 +- tsconfig.json | 2 +- tsconfig.webpack.json | 2 +- webpack.config.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tsconfig.build.json b/tsconfig.build.json index 1987c96c0..4d4ffd342 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -3,7 +3,7 @@ "module": "NodeNext", "declaration": false, "sourceMap": true, - "outDir": "./build", + "outDir": "./dist", "strict": true, "noImplicitAny": true, "resolveJsonModule": true, diff --git a/tsconfig.json b/tsconfig.json index c1f3ef48b..d94fcef82 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "module": "NodeNext", "declaration": false, "sourceMap": true, - "outDir": "./build", + "outDir": "./dist", "strict": true, "noImplicitAny": true, "resolveJsonModule": true, diff --git a/tsconfig.webpack.json b/tsconfig.webpack.json index ed622818b..cbfe8cbdb 100644 --- a/tsconfig.webpack.json +++ b/tsconfig.webpack.json @@ -3,7 +3,7 @@ "module": "NodeNext", "declaration": false, "sourceMap": true, - "outDir": "./build", + "outDir": "./dist", "strict": true, "noImplicitAny": true, "resolveJsonModule": true, diff --git a/webpack.config.ts b/webpack.config.ts index 82439ea6d..207ff2fcf 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, "build/src/public/app-dist"), + path: path.resolve(rootDir, "dist/src/public/app-dist"), filename: "[name].js" }, plugins: [