-
Run
npm ci
to install dependencies. -
Run
ng build --configuration=production
(with the defaultes2017
target intsconfig.json
). -
Observe the contents of the output
dist/angular-filename-hashing-bug-reproduction/scripts.{revhash_1}.js
file to betry{console.log()}catch(c){}
. -
Change the
compilerOptions.target
toes2019
(ores2020
ores2021
) fromes2017
intsconfig.json
. -
Run
ng build --configuration=production
. -
Observe the contents of the output
dist/angular-filename-hashing-bug-reproduction/scripts.{revhash_2}.js
file to betry{console.log()}catch{}
(different from the output from step 3). -
Observe that
revhash_1
equalsrevhash_2
.
-
Notifications
You must be signed in to change notification settings - Fork 0
JoshuaEN/angular-filename-hashing-bug-reproduction
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Reproduction of a filename hashing issue with Angular 13.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- HTML 76.3%
- TypeScript 18.7%
- JavaScript 4.7%
- CSS 0.3%