Skip to content

Commit

Permalink
chore: 修改命令
Browse files Browse the repository at this point in the history
  • Loading branch information
xwchris committed Dec 19, 2024
1 parent d954623 commit ee84af1
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ const max: IPlugin = async ctx => {

const isPipelineEnv = process.env.CI_PIPELINE;
if (name === 'component' && isPipelineEnv) {
console.log('start build ReactLynx3!')
console.log('分类页组件产物开始打包...')
try {
child_process.execSync(`yarn rspeedy build --config ${path.join(tempLynxDir, 'lynx-3.config.mjs')}`, { encoding: 'utf-8' });
console.log('build ReactLynx3 success!')
child_process.execSync(`npx rspeedy build --config ${path.join(tempLynxDir, 'lynx-3.config.mjs')}`, { encoding: 'utf-8' });
console.log('分类页组件产物开始打包成功!!!');
} catch (error: any) {
console.error('build ReactLyxn3 failed!', error.message)
console.error('分类页组件产物开始打包失败!', error.message);
throw error;
}
}
};
Expand Down

0 comments on commit ee84af1

Please sign in to comment.