-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(@angular-devkit/build-angular): improve handling of nomodules an…
…d modules in index generation Since when having differential loading we already know which files originated from which build. We shouldn't need to merge and transform this data. With this change, the index generator accepts a couple of new inputs. 1. `files` - used for Js and CSS files which require nomodule nor module attributes 2. `moduleFiles` - Js files that need to have a `module` attribute 3. `noModuleFiles` - Js files that need to have a `nomodule` attribute 4. `entrypoints` - used to sort the insertion of files in the HTML file
- Loading branch information
Showing
3 changed files
with
159 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters