chore(): ngc build

This commit is contained in:
Ibby
2017-02-16 19:47:50 -05:00
parent 822a4120c7
commit 9055154781
7 changed files with 21 additions and 30 deletions
+2 -5
View File
@@ -97,9 +97,6 @@ const addPluginToQueue = pluginName => {
installVariables = JSON.parse(regexVars[1].replace(/'/g, '"'));
}
if (packageLocator) console.log(packageLocator);
if (installVariables) console.log(installVariables);
// clone plugin-config.json
const pluginConfig = JSON.parse(JSON.stringify(PLUGIN_CONFIG));
@@ -121,12 +118,12 @@ const addPluginToQueue = pluginName => {
.then(() => {
// compile the plugin
exec(`${ROOT}/node_modules/.bin/tsc -p ${tsConfigPath}`, (err, stdout, stderr) => {
exec(`${ROOT}/node_modules/.bin/ngc -p ${tsConfigPath}`, (err, stdout, stderr) => {
if (err) {
// oops! something went wrong.
callback(`\n\nBuilding ${pluginName} failed.`);
console.log(stdout);
console.log(err);
return;
}
+4 -1
View File
@@ -16,5 +16,8 @@
},
"files": [
"../../src/@ionic-native/core/index.ts"
]
],
"angularCompilerOptions": {
"genDir": "aot"
}
}
+4 -1
View File
@@ -19,5 +19,8 @@
},
"files": [
"../../../src/@ionic-native/plugins/{{PLUGIN}}/index.ts"
]
],
"angularCompilerOptions": {
"genDir": "aot"
}
}