You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
perhaps we can have extract-loader output an array of file-content, which file-loader then picks up and creates several files out of;
or perhaps we can give extract-loader an extra option to emit dependencies to the successor loader in some other way.
an example would be inlining the successor loader for dependencies `{ ..., dependencyLoaders: 'file-loader!'}
I am willing to spend time on implementing the changes for a pull request.
Cheers.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: