From 7e658bcc02dcfa5b413abeb22f833e2967979ffa Mon Sep 17 00:00:00 2001 From: Szymon Date: Tue, 2 Jan 2024 08:12:33 +0100 Subject: [PATCH 1/3] fix: change text --- src/locales/pl-PL.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/locales/pl-PL.ts b/src/locales/pl-PL.ts index 5292d7398..4f103fc9f 100644 --- a/src/locales/pl-PL.ts +++ b/src/locales/pl-PL.ts @@ -765,7 +765,7 @@ export default { file_downloaded: 'Pobrano plik', file_downloaded_error: 'Nie udało się pobrać pliku', present: 'Obecny', - not_exercising: 'Nie ćwiczący', + not_exercising: 'Niećwiczący', excused_absence: 'Nieobecność usprawiedliwiona', pressSaveToCreateQuestions: 'Stwórz ten temat przed dodaniem pytań', addNewQuestion: 'Dodaj nowe pytanie', From ef9dd1331e4daa037ba5da00a2e3de49068a65b4 Mon Sep 17 00:00:00 2001 From: Szymon Dolnik Date: Thu, 4 Jan 2024 15:26:06 +0100 Subject: [PATCH 2/3] fix: build --- config/config.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/config.ts b/config/config.ts index a59d21366..e556fc9ec 100644 --- a/config/config.ts +++ b/config/config.ts @@ -72,4 +72,12 @@ export default defineConfig({ access: { strictMode: true, }, + // DUE TO BUILD ERROR + chainWebpack(config) { + config.module + .rule('mjs') + .type('javascript/auto') + .test(/\.mjs$/) + .include.add(/node_modules/); + }, }); From 490915a7a2dfe961b5aa005b2340cfdaafe3c564 Mon Sep 17 00:00:00 2001 From: Szymon Dolnik Date: Thu, 4 Jan 2024 15:29:32 +0100 Subject: [PATCH 3/3] fix: build --- config/config.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/config/config.ts b/config/config.ts index e556fc9ec..cb67351d6 100644 --- a/config/config.ts +++ b/config/config.ts @@ -74,10 +74,12 @@ export default defineConfig({ }, // DUE TO BUILD ERROR chainWebpack(config) { + config.resolve.extensions.add('.mjs'); config.module - .rule('mjs') - .type('javascript/auto') + .rule('mjs$') .test(/\.mjs$/) - .include.add(/node_modules/); + .include.add(/node_modules/) + .end() + .type('javascript/auto'); }, });