merkle-open/webpack-config-plugins

support webpack v5

aladdin-add opened this issue ยท 9 comments

support webpack v5

Hey @aladdin-add, thanks for submitting. We're actually discussing internally how we will solve the requirement to make the plugins compatible with multiple webpack versions ๐Ÿ˜ƒWe're coming back to this as soon as we find a solution!

We decided to stay a little bit longer with Webpack 4, as version 5 isn't fully implemented nor the milestone of the first release was reached (see their milestones), I'll close this for now and we'll come back when webpack 5 gets stable ๐Ÿ˜ƒ

Hi, webpack5 stable was released, any news about this?

absolutely we should try to find some time to work on the next major version ๐Ÿ‘

Duplicate #68
This issue seems to have more active discussion, so maybe keep this and close the other?

Hi, I'd like to try this with webpack v5. What's the current obstacle?

At this point I've dug into the makeup of these packages and made up a webpack config myself. The dependencies end up being significantly slimmed down (about cut in half) and it works with webpack 5.

The majority of what I did was based on https://github.com/microsoft/TypeScript-Babel-Starter which handles js and ts. Aside from that I've got the mini css plugin and sass loader. I haven't done the other asset stuff yet. I'm not planning to release anything, just outlining what I did so others can reproduce.