1 |
|
2 |
|
3 | const shell = require("shelljs");
|
4 |
|
5 | const path = require("path");
|
6 | const config = path.join(__dirname, "i18next-scanner.config.js");
|
7 |
|
8 | shell.exec(`i18next-scanner --config ${config} '{app,src,node_modules/@datawheel/canon-core/src}/**/*.{html,js,jsx}'`, code => {
|
9 | shell.echo("");
|
10 | shell.exit(code);
|
11 | });
|