Skip to content

feat: Add manifest functionality #48

Open
gaje wants to merge 2 commits intoshirotech:masterfrom
gaje:master
Open

feat: Add manifest functionality #48
gaje wants to merge 2 commits intoshirotech:masterfrom
gaje:master

Conversation

@gaje
Copy link
Copy Markdown

@gaje gaje commented Feb 19, 2019

Adding ability to output to a manifest JSON file instead of directly injecting paths to a template (via: manifest: true config option) .

This solves a use case where the HtmlWebpackPlugin is not being used. The manifest file can be later read by the server and it can choose how to manage them. Similar to: https://www.npmjs.com/package/webpack-assets-manifest

I see that html-webpack-plugin is listed as a peer dependency, but with this feature it would not be a required dependency. I haven't removed it from the package.json and will let you determine if it should remain a dependency or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants