From 98443eaa8421645b3ec9f20440918ecbb971bec5 Mon Sep 17 00:00:00 2001 From: Nikita Kuznetsov Date: Wed, 14 Feb 2024 11:45:43 +0100 Subject: [PATCH] Add log for locales --- apps/web/task/locales.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/web/task/locales.ts b/apps/web/task/locales.ts index 426345b99..63af191d5 100644 --- a/apps/web/task/locales.ts +++ b/apps/web/task/locales.ts @@ -1,10 +1,14 @@ import * as fs from 'fs-extra'; +import * as path from 'path'; console.log('Copy Locales'); const srcDir = `../../packages/locales/dist/locales`; const buildDestDir = `build/locales`; const devDestDir = `public/locales`; +console.log(path.resolve(srcDir)); +fs.readdirSync(srcDir).forEach(file => console.log(file)); + if (!fs.existsSync('build')) { fs.mkdirSync('build'); }