ztoben / assets-webpack-plugin

Webpack plugin that emits a json file with assets paths
https://www.npmjs.com/package/assets-webpack-plugin
MIT License
958 stars 104 forks source link

Ability to configure processOutput to be executed on afterEmit #442

Open agelico opened 2 years ago

agelico commented 2 years ago

Got the same problem as described here, but with v7.1.1. Had to downgrade to 7.0.0.

It's important for my project to have access to the emitted files in processOutput because some files are generated by other webpack plugins. Adding them in processOutput to assets.json is the best way, but it is impossible when the function is called on emit instead of afterEmit.

As there were previous issues with same request, maybe it's worth doing a separate setting for it?