-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(docs-infra): update loading of custom elements to use dynamic imports #30704
refactor(docs-infra): update loading of custom elements to use dynamic imports #30704
Conversation
a3a0491
to
9b246b4
Compare
You can preview 9b246b4 at https://pr30704-9b246b4.ngbuilds.io/. |
9b246b4
to
a932a3b
Compare
You can preview a932a3b at https://pr30704-a932a3b.ngbuilds.io/. |
…c import syntax Removes the usage of `NgModuleFactoryLoader` and string-based imports for lazy loading.
… dynamic import syntax
…odules In View Engine, NgModule factories are created for each NgModule and loaded when the module is requested. Ivy doesn't generate the factories by design and only loads the module class, so it must be compiled after being loaded.
a932a3b
to
64afdef
Compare
You can preview 64afdef at https://pr30704-64afdef.ngbuilds.io/. |
You can preview 8da946f at https://pr30704-8da946f.ngbuilds.io/. |
8da946f
to
c4b31ba
Compare
You can preview c4b31ba at https://pr30704-c4b31ba.ngbuilds.io/. |
You can preview f4b447e at https://pr30704-f4b447e.ngbuilds.io/. |
You can preview cbadd28 at https://pr30704-cbadd28.ngbuilds.io/. |
61bb57a
to
cd86d95
Compare
You can preview 61bb57a at https://pr30704-61bb57a.ngbuilds.io/. |
You can preview cd86d95 at https://pr30704-cd86d95.ngbuilds.io/. |
cd86d95
to
d23517a
Compare
You can preview d23517a at https://pr30704-d23517a.ngbuilds.io/. |
… Ivy mode Previously, when switching to Ivy mode (e.g. to run tests on CI), we had to add `allowEmptyCodegenFiles: true` to the `angularCompilerOptions` in `tsconfig.app.json`. This isn't necessary any more (potentially since we switched to dynamic imports for loading lazy modules in angular#30704), so this commit removes it from the `switch-to-ivy.js` script.
… Ivy mode Previously, when switching to Ivy mode (e.g. to run tests on CI), we had to add `allowEmptyCodegenFiles: true` to the `angularCompilerOptions` in `tsconfig.app.json`. This isn't necessary any more (potentially since we switched to dynamic imports for loading lazy modules in angular#30704), so this commit removes it from the `switch-to-ivy.js` script.
… Ivy mode (#30911) Previously, when switching to Ivy mode (e.g. to run tests on CI), we had to add `allowEmptyCodegenFiles: true` to the `angularCompilerOptions` in `tsconfig.app.json`. This isn't necessary any more (potentially since we switched to dynamic imports for loading lazy modules in #30704), so this commit removes it from the `switch-to-ivy.js` script. PR Close #30911
… Ivy mode (angular#30911) Previously, when switching to Ivy mode (e.g. to run tests on CI), we had to add `allowEmptyCodegenFiles: true` to the `angularCompilerOptions` in `tsconfig.app.json`. This isn't necessary any more (potentially since we switched to dynamic imports for loading lazy modules in angular#30704), so this commit removes it from the `switch-to-ivy.js` script. PR Close angular#30911
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information