This commit is contained in:
parent
15230cdd2f
commit
42bfaf966e
|
|
@ -11,7 +11,7 @@ const Locales = 'locales';
|
|||
|
||||
function copyLocaleFiles() {
|
||||
//build locales
|
||||
consola.success(`${chalk.blueBright('读取locales,生成json数据')}`);
|
||||
consola.success(`${chalk.greenBright('读取locales,生成json数据')}`);
|
||||
// locales到mp/dist下
|
||||
const buildPath = Path.resolve(paths.appBuild, Locales);
|
||||
const json = buildLocales({
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ function copyLocaleFiles() {
|
|||
try {
|
||||
// locales到web/public下
|
||||
const buildPath = Path.resolve(paths.appPublic, Locales);
|
||||
consola.start(`${chalk.blueBright('读取locales,生成json数据')}`);
|
||||
consola.success(`${chalk.greenBright('读取locales,生成json数据')}`);
|
||||
const json = buildLocales({
|
||||
projectPath: paths.appRootSrc,
|
||||
businessProjectPath: paths.oakGeneralBusinessAppPath,
|
||||
|
|
|
|||
Loading…
Reference in New Issue