added extractErrors warning

This commit is contained in:
Dominic Gannaway
2017-03-23 16:20:25 +00:00
parent c81f2fbd7f
commit 37d334b314
+7
View File
@@ -350,6 +350,13 @@ rimraf(join('build', 'rollup'), async () => {
await createBundle(bundle, bundleTypes.FB);
await createBundle(bundle, bundleTypes.RN);
}
if (argv.extractErrors) {
console.warn(
'\nWarning: this build was created with --extractErrors enabled.\n' +
'this will result in extremely slow builds and should only be\n' +
'used when the error map needs to be rebuilt.\n'
);
}
});