Skip to content

Commit

Permalink
Add log for locales
Browse files Browse the repository at this point in the history
  • Loading branch information
KuznetsovNikita committed Feb 14, 2024
1 parent 9df2368 commit 98443ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/web/task/locales.ts
Original file line number Diff line number Diff line change
@@ -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');
}
Expand Down

0 comments on commit 98443ea

Please sign in to comment.