Changing transpile to ES6


#1

I was moving my old project to RC0 and I was using async/await es6 stuff so I have to plugin babel and es6 to the rollup.

I configured the project now to use babel and transpile it to es6 but I actually go to node_modules/@ionic/app-scripts/dist/transpile.js and change

function setCompilerOptionDefaults(compilerOptions) {
    compilerOptions.target = 'es6';
    compilerOptions.module = 'es2015';
}

But now I dont want to change stuff in node_modules
How do I do it from package.json?


#2

Now this behaviour is gone, on latest “@ionic/app-scripts”.