Skip to content
This repository was archived by the owner on Sep 16, 2022. It is now read-only.
This repository was archived by the owner on Sep 16, 2022. It is now read-only.

Stop emitting ng_*.json #276

@Tomucha

Description

@Tomucha
  1. Take your favourite Angular2 project
  2. run "pub build"
  3. inspect the results in ./build/web

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":

  rm `find . -name *.ng_*.json`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions