Skip to content

Commit

Permalink
Build: Fix prepare script in build command
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Aug 23, 2022
1 parent e167813 commit 3617a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-package.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ async function run() {
}

selection?.filter(Boolean).forEach(async (v) => {
const commmand = (await readJSON(resolve(v.location, 'package.json'))).scripts.prep;
const commmand = (await readJSON(resolve(v.location, 'package.json'))).scripts.prepare;
const cwd = resolve(__dirname, '..', 'code', v.location);
const sub = require('execa').command(
`${commmand}${watchMode ? ' --watch' : ''}${prodMode ? ' --optimized' : ''}`,
Expand Down

0 comments on commit 3617a62

Please sign in to comment.