We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0660cc commit 993543aCopy full SHA for 993543a
nativescript-angular/bin/remove-polyfills-metadata.js
@@ -0,0 +1,5 @@
1
+const { unlinkSync } = require("fs");
2
+
3
+unlinkSync("./polyfills/console.metadata.json");
4
+unlinkSync("./polyfills/array.metadata.json");
5
nativescript-angular/package.json
@@ -33,7 +33,7 @@
33
"postinstall": "node postinstall.js",
34
"tsc": "tsc -p tsconfig.json",
35
"ngc": "ngc -p tsconfig.json",
36
- "prepublish": "npm run tsc && npm run ngc"
+ "prepare": "npm run ngc && node ./bin/remove-polyfills-metadata.js"
37
},
38
"bin": {
39
"update-app-ng-deps": "./bin/update-app-ng-deps"
0 commit comments