sysgears/webpack-virtual-modules

Webpack 5 support

ScriptedAlchemy opened this issue · 11 comments

Any hints on what I need to PR to get Webpack 5 support?

I have no idea to be fair. Webpack 5 is very different and I haven't seen good documentation for Webpack 5 internals

Checking the filesystem API of Webpack Core, looks like we are good.

Testing it now, seems to keep on working. Might ping you with a question or two. Im using it to workaround another issue in the webpack core that we haven't yet solved. In conjunction with webpack/webpack#10352

@ScriptedAlchemy Sure, feel free to ping me with questions

https://youtu.be/uFZsdShuzxU did a screencast on it :)

@ScriptedAlchemy Cool, thank you for sharing!

Got an error:

TypeError: Cannot read property 'data' of undefined
ERR!     at setData (/Users/xxx/.yarn/cache/webpack-virtual-modules-npm-0.2.2-1f43412872-f06d8f3e84.zip/node_modules/webpack-virtual-modules/index.js:84:15)

@kirill-konshin Because webpack 5 is not supported yet

Why is this issue closed then :) let's leave it open

@kirill-konshin Because issue author closed it

@ScriptedAlchemy @kirill-konshin Fixed via #55 and published in webpack-virtual-modules@0.3.0

Thank you! I've mentioned the issue in Storybook upgrade ticket.