Skip to content

Commit

Permalink
fix(script): update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
enncy committed May 1, 2023
1 parent 9ce6fb1 commit 4aa68f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/build-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ function cleanOutput() {

async function buildPackages() {
// @ts-ignore
await execOut('npm run build', { cwd: '../packages/core' });
await execOut('vite build', { cwd: '../packages/core' });
// @ts-ignore
await execOut('npm run build', { cwd: '../packages/scripts' });
await execOut('vite build', { cwd: '../packages/scripts' });
}

async function createUserJs(cb) {
Expand Down
3 changes: 1 addition & 2 deletions scripts/tsc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ exports.default = series(
() => execOut('tsc', { cwd: '../packages/app' }),
() => execOut('tsc', { cwd: '../packages/web' }),
() => execOut('tsc', { cwd: '../packages/utils' }),
() => execOut('tsc', { cwd: '../packages/core' }),
() => execOut('tsc', { cwd: '../packages/scripts' })
() => execOut('tsc', { cwd: '../packages/core' })
)
);

0 comments on commit 4aa68f1

Please sign in to comment.