shellscape / webpack-manifest-plugin

webpack plugin for generating asset manifests
MIT License
1.44k stars 184 forks source link

Trying to manually inject a file into the manifest #177

Closed dblodorn closed 5 years ago

dblodorn commented 5 years ago

Hi, i am creating a json file from a call to a data api and placing it iny my dist folder, i have been able to add a hash to the file, but have not been able to figure out how to make a custom webpack plugin that registers the file in list of built files that will then be used by webpack manifest plugin.

All i need to do is simply push the file name into the asset-manifest, I thought seed would do this. But seed option returns a manifest with only the data i type into seed, can I manually add a file to the manifest from the plugin config options?