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'); }