From 1320adaab7fad3803d653c293862ed0cd18ec01e Mon Sep 17 00:00:00 2001 From: Miodec Date: Thu, 31 Aug 2023 21:12:37 +0200 Subject: [PATCH] build: fix incorrect path --- frontend/webpack/config.dev.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/webpack/config.dev.js b/frontend/webpack/config.dev.js index 9e7377768..8b0963ac2 100644 --- a/frontend/webpack/config.dev.js +++ b/frontend/webpack/config.dev.js @@ -25,7 +25,9 @@ const DEV_CONFIG = { ], }; -if (!fs.existsSync(resolve(__dirname, "../src/constants/firebase-config.ts"))) { +if ( + !fs.existsSync(resolve(__dirname, "../src/ts/constants/firebase-config.ts")) +) { const msg = `File firebase-config.ts is missing! Please duplicate firebase-config-example.ts and rename it to firebase-config.ts. If you are using Firebase, fill in the values in the config file. If not, you can leave the fields blank.`; throw new Error(msg); }