mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 09:34:19 +08:00
chore(build): fix enoent errors in build
This commit is contained in:
6
angular/scripts/build-core.js
vendored
6
angular/scripts/build-core.js
vendored
@ -16,7 +16,7 @@ function buildIonicAngular() {
|
||||
|
||||
console.log(cmd, args.join(' '));
|
||||
|
||||
const p = spawn('stencil', args, { cwd: stencilPath, stdio: 'inherit' });
|
||||
const p = spawn('./stencil', args, { cwd: stencilPath, stdio: 'inherit' });
|
||||
p.on('close', (code) => {
|
||||
if (code > 0) {
|
||||
console.log(`@ionic/angular build exited with ${code}`);
|
||||
@ -35,7 +35,7 @@ function buildIonicCore() {
|
||||
|
||||
console.log(cmd, args.join(' '));
|
||||
|
||||
const p = spawn('stencil', args, { cwd: stencilPath, stdio: 'inherit' });
|
||||
const p = spawn('./stencil', args, { cwd: stencilPath, stdio: 'inherit' });
|
||||
p.on('close', (code) => {
|
||||
if (code > 0) {
|
||||
console.log(`@ionic/core build exited with ${code}`);
|
||||
@ -71,4 +71,4 @@ function copyIonicCore() {
|
||||
}
|
||||
|
||||
buildIonicCore();
|
||||
buildIonicAngular();
|
||||
buildIonicAngular();
|
||||
|
Reference in New Issue
Block a user