Skip to content

Commit

Permalink
Disable Ivy and ngcc for all builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jannicz committed Apr 27, 2020
1 parent 0d2524c commit 0e21689
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
<link rel="stylesheet" href="/ng-svg-icon-sprite/styles.8d350f21814f43af96e0.css"></head>
<body>
<app-root></app-root>
<script src="/ng-svg-icon-sprite/runtime.734c0ed08e24207a0ee4.js" defer></script><script src="/ng-svg-icon-sprite/polyfills-es5.913764138c84d9b97f38.js" nomodule defer></script><script src="/ng-svg-icon-sprite/polyfills.590a129bf30ad3d6ee53.js" defer></script><script src="/ng-svg-icon-sprite/main.c71af6254f3a53eb4a29.js" defer></script></body>
<script src="/ng-svg-icon-sprite/runtime.734c0ed08e24207a0ee4.js" defer></script><script src="/ng-svg-icon-sprite/polyfills-es5.913764138c84d9b97f38.js" nomodule defer></script><script src="/ng-svg-icon-sprite/polyfills.590a129bf30ad3d6ee53.js" defer></script><script src="/ng-svg-icon-sprite/main.4c30065524fac143d2b8.js" defer></script></body>
</html>
1 change: 1 addition & 0 deletions docs/main.4c30065524fac143d2b8.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/main.c71af6254f3a53eb4a29.js

This file was deleted.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"ng": "ng",
"start": "ng serve",
"build": "ng test icon-sprite --browsers=ChromeHeadless --watch=false && ng build --prod",
"build:lib": "ng build --prod icon-sprite",
"build:lib": "ng build icon-sprite --prod",
"build:all": "npm run build:lib && npm run build",
"prebuild:lib": "cpr ./README.md ./projects/icon-sprite/README.md -o && cpr ./LICENSE ./projects/icon-sprite/LICENSE -o",
"postbuild:lib": "cpr ./projects/icon-sprite/svg-icon-sprite-anim.gif ./dist/ng-svg-icon-sprite/svg-icon-sprite-anim.gif -o",
Expand Down
1 change: 1 addition & 0 deletions projects/icon-sprite/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
]
},
"angularCompilerOptions": {
"enableIvy": false,
"annotateForClosureCompiler": true,
"skipTemplateCodegen": true,
"strictMetadataEmit": true,
Expand Down
5 changes: 4 additions & 1 deletion src/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@
"exclude": [
"src/test.ts",
"**/*.spec.ts"
]
],
"angularCompilerOptions": {
"enableIvy": false
}
}
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@
"node_modules/core-js/proposals/reflect-metadata"
]
}
},
"angularCompilerOptions": {
"enableIvy": false
}
}

0 comments on commit 0e21689

Please sign in to comment.