mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
refactor(core): disable property renaming for the event dispatch script (#55502)
This commit updates Terser config to disable property renaming for the event delegation script (that we later inline into the HTML during SSR). The problem is that event dispatcher relies on some functions on the EventContract class to have original names after after minification, we loose an ability to call those functions. PR Close #55502
This commit is contained in:
parent
4bf3d89dae
commit
bbd0cbfacf
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
|||
},
|
||||
"mangle": {
|
||||
"toplevel": true,
|
||||
"properties": true,
|
||||
"properties": false,
|
||||
"keep_classnames": false,
|
||||
"keep_fnames": false
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue