webpack.js.org icon indicating copy to clipboard operation
webpack.js.org copied to clipboard

Loader API: addDependency after callback resolve?

Open ogonkov opened this issue 5 years ago • 0 comments

Feature to document

Document invocation order for addDependency and callback

Author(s)

Additional information

As a loader author i want to know can i execute addDependency after calling callback (this.callback) with loader result. It's not clear from documentation.

It seems to work (no error or warning), just to make sure.

  • [x] I am willing to work on this issue and submit a pull request.

ogonkov avatar Sep 07 '20 09:09 ogonkov