build(common): mark locales files as side-effect-full (#23509)

Fixes https://github.com/angular/angular-cli/issues/10322
PR Close #23509
This commit is contained in:
Olivier Combe 2018-04-23 17:47:51 +02:00 committed by Victor Berchet
parent 1c9200eca8
commit 06c0d9666f
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{
"description": "This directory contains UMD files which by its nature are not side-effect free. The parent package.json marks the whole @angular/common package as side-effect free, so if this directory is not excluded from that, build-optimizer will mark the contents as side-effect free and uglify will incorrectly remove all needed localization code.",
"sideEffects": false
"sideEffects": true
}