bootstarted / css-split-webpack-plugin

Split your CSS for stupid browsers using webpack and postcss.
78 stars 22 forks source link

Webpack 4 support #28

Open jesujcastillom opened 6 years ago

jesujcastillom commented 6 years ago

Hi,

I know this is a huge change, but I've just tested using mini-css-extract-plugin instead of the extract-text-webpack-plugin, and it worked, though it had a warning on a deprecated Tapable.

Is Webpack 4 support planed?

izaakschroeder commented 6 years ago

👋 It seems like a good thing to do! There isn't too much dark magic that goes on in here related to webpack internal machinery – we should definitely be able to update the plugin API calls to match 🎉 Thanks for letting me know!

aleen42 commented 6 years ago

Hello, is there any progress for supporting Webpack 4.x?

@jesujcastillom I found that there is a problem when combined with mini-css-extract-plugin, which should check css chunks, which has been split by this plugin. Any suggested configurations to work around this situation?

work around according to the reference: https://github.com/webpack-contrib/mini-css-extract-plugin/pull/256#issuecomment-433813097