This repository has been archived by the owner on Sep 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 232
Stop emitting ng_*.json #276
Milestone
Comments
AFAIK this is a transformer limitation, files can't be deleted once created. |
You saw it here: https://plus.google.com/u/0/+TomasZverina/posts/gjigzCB2qY6 ... but it still needs to be solved. |
For example - we have this backend administration app in Angular2.Dart. We removed all probably unnecessary files from build/web:
... and final "war" package is now 18MB smaller. |
There is no way to do this unfortunately with We're working on a new compiler that won't have this limitation, though. I'll leave this open as a tracker. |
matanlurey
changed the title
Plenty of probably unnecessary files in "pub build" output
Stop emitting ng_*.json
Mar 16, 2017
Blocked by #404. |
4 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected behaviour:
"pub build" creates clean output which can be directly uploaded to the production environment.
Observed behaviour:
There are many files which are probably not needed in production (?): ng_meta.json, ng_summary.json ...
Please note that for example Google App Engine limits a number of files in app package in quotas. Not mentioning the amount of data which is transferred, distributed to CDN, archived, etc.
I understand that it might be hard to solve right know and that it depends on "pub" itself. For now, please provide some "safe cleanup script":
The text was updated successfully, but these errors were encountered: