Skip to content
This repository was archived by the owner on Jun 14, 2020. It is now read-only.
This repository was archived by the owner on Jun 14, 2020. It is now read-only.

Gulp build with logfile containing a list of all bundled files #92

@JanOschii

Description

@JanOschii

Dear Sebastian,

first of all, your project is well structured and documented. Really a good starting point for a new angular 2 project. I learned alot by reading your documentation – thank you very much for efforts!

Now I came a cross with a question that leads me to a possible enhancement of the modern web dev build.

If I currently build a project, I dont have a chance to get a easy overview about the files that are included in the bundled css and js files. It would be nice to have this either on shell or in a logfile.

simple version:

bundle.min.js
└ wrapper.controller.ts
└ header.controller.ts
└ page-about.ts
...
bundle.min.css
└ _wrapper.css
...
vendor.min.js
└ no files
...
vendor.min.css
└ normalize.css
...

extended version

bundle.min.js (527 kB)
└ components/wrapper/wrapper.controller.ts (1.74 kB)
└ components/header/header.controller.ts (2.39 kB)
└ pages/page-about/page-about.ts (1.10 kB)
...
bundle.min.css (231 kB)
└ components/wrapper/_wrapper.scss (0.12 kB)
...
vendor.min.js (0 kB)
└ no files
...
vendor.min.css (2 kB)
└ jspm_packages/github/necolas/normalize.css@3.0.3/normalize.css (1.10 kB)
...

This would give a user the chance to see in a glimpse where he can optimize or need to debug the bundles.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions