We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10eb286 commit b149f3dCopy full SHA for b149f3d
scripts/test.mjs
@@ -15,10 +15,10 @@ const platform = os.platform();
15
/* eslint-disable no-console */
16
async function main(argv = process.argv) {
17
argv = argv.slice(2);
18
- const tscArgs = [`-p`, path.join(projectPath, 'tsconfig.build.json')];
19
- console.error('Running tsc:');
20
- console.error(['tsc', ...tscArgs].join(' '));
21
- childProcess.execFileSync('tsc', tscArgs, {
+ const npmArgs = [`run`, 'build'];
+ console.error('Running build:');
+ console.error(['npm', ...npmArgs].join(' '));
+ childProcess.execFileSync('npm', npmArgs, {
22
stdio: ['inherit', 'inherit', 'inherit'],
23
windowsHide: true,
24
encoding: 'utf-8',
0 commit comments