chore(build): fix enoent errors in build

This commit is contained in:
mhartington
2018-05-23 13:35:32 -04:00
parent c736bac32f
commit 791353ccba

View File

@ -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();