Jarda Snajdr
Jarda Snajdr
> Maybe you can use npm aliases coming in [npm 6.9.0](https://github.com/npm/cli/releases/tag/v6.9.0-next.0)? I'm thinking you could install your fork under the name "prettier" to "fool" all tools. Wow, I didn't know...
> I also have to ask – have you considered avoiding the technical issues by changing your code style instead to one supported by Prettier? Yes, it's been considered in...
> Thinking a little closer about it, the correct way would be that imports inside of a package do look for their "closest" node_modules directory and use that as the...
#107 has the right fix for this. Only needs to be merged and published.
HMR: inferring script source from moduleId is not reliable and don't work with `[hash]`/`[fullhash]`
> We recommend disable SplitChunksPlugin when you want to use HMR, it is very hard to implement That still leaves two of three bugs: async loading and `Promise.then`, and unreliable...
HMR: inferring script source from moduleId is not reliable and don't work with `[hash]`/`[fullhash]`
Pinging @ScriptedAlchemy who seems to be the original author of the HMR code and might know the rationale for the "last `script` tag" code.
HMR: inferring script source from moduleId is not reliable and don't work with `[hash]`/`[fullhash]`
> anyway if you provide reproducible examples it help to use fix problem faster Last time I did that in #253, after a very similar conversation, it didn't help. I'd...
HMR: inferring script source from moduleId is not reliable and don't work with `[hash]`/`[fullhash]`
> `module.id` Can you expand on that? The HMR code already knows the module ID. It needs to figure out the chunk URLs to reload.
Hi @evilebottnawi! Here is a repo with a little project that reproduces the issue: https://github.com/jsnajdr/webpack-chunkhash-duplicate After `npm run build`, there is file `dist/main.[chunkhash].js` with two instances of the chunk map...
> What you expected, css and js have difference logic for loading chunks I expected that there is only one instance of that object in the shipped webpack runtime. However...