peerigon / extract-loader

webpack loader to extract HTML and CSS from the bundle
The Unlicense
317 stars 74 forks source link

No dependencies to successor loader #120

Open norentkhy opened 1 year ago

norentkhy commented 1 year ago

Good day,

I have a webpack config, in which html-files are loaded dynamically. More specifically html-files are loaded through [html-loader → extract-loader → file-loader]. In this journey I have found that extract-loader does not output the dependency js-files to file-loader.

I have found that directly referring to file-loader explicitly works, so this tells me that we can solve this somehow with modifications to extract-loader (and perhaps also file-loader).

The potential solutions I see:

I am willing to spend time on implementing the changes for a pull request.

Cheers.