Simen Bekkhus

Results 1245 comments of Simen Bekkhus

Might be better to do `path.resolve(__dirname, '../static/js/**/*.dll.js')`. If that works, wanna send a PR updating the docs?

Files added to the plugin are output next to other files output by webpack. The whole point is to add files not artefacts of the current build into the context,...

>Could I use the hash in the output file name just like `mydll.[hash].js`? What do you mean? Do you have some example config of what you want? >Thank you for...

Ah, ok. That does not exist at the moment no. If you can figure out some API that's not too clunky, I'd be happy to merge a PR for it,...

Yes, that's a good point. We'd have to either do some work in html-webpack-plugin, or doe something smart in this method: https://github.com/SimenB/add-asset-html-webpack-plugin/blob/e0ebc4c/src/addAllAssetsToCompilation.js#L24-L29

I'd love to see a PR supporting this 🙂

Would you mind sending a PR to fix that? 🙂 Code: https://github.com/SimenB/add-asset-html-webpack-plugin/blob/6f74d9c39108ca6178fa8638acf9721a42d820ba/src/utils.js#L12-L21

Like reading its content and inserting in the markup? Not sure if html-webpack-plugin supports that...

Does it happen with jsdom 15?

Odd - just empty test and jest's own source for the env but using a newer jsdom? I'd have to dig into it