Allow using optimization and buildOptimizer = true in angular.json
See original GitHub issueHey man. today i got a crazy bug. When a call serializer two params just disappear.
the bug only happen in ng build --prod
I discovered what is cause the bug my app has optimization and buildOptimizer = true in angular.json
if i change to false your lib work`s great! So can u do something to allow us run the build with this options igual true?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (5 by maintainers)
Top Results From Across the Web
in angular.json buildOptimizer not allowed to be set for "serve"
I am surprised to see that optimization and aot are valid option for ng serve . My suggestion would be to use multiple...
Read more >An unhandled exception occurred: The 'buildOptimizer' option ...
Go into your angular.json file; In that file, follow the path projects -> architect -> build -> options; Change "buildOptimizer" to true and ......
Read more >Angular Build Optimizations - IntSights
Our solution was to strip all the files that were not called using the package moment-locales-webpack-plugin. In order to use this plugin, a ......
Read more >ng build - Angular
Option Description Value Type Default Value
‑‑aot Build using Ahead of Time compilation. boolean true
‑‑base‑href Base url for the application being built. string
‑‑delete‑output‑path Delete...
Read more >How to Optimize your Angular Application for Production
The build optimizer removes Angular specific decorators, constructor parameters and makes it easier for code minifiers to remove unused code. ng ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Try with the new 3.4.1 version. 😊
I think I found your problem, it’s due to
JsonProperty
insideconstructor
I’ll merge the PR #144 soon.