bootstarted / css-split-webpack-plugin

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

Support Webpack@5.x #34

Open aleen42 opened 3 years ago

aleen42 commented 3 years ago
  1. adapt removed compiler.plugin and compilation.plugin mentioned in #32.
  2. SourceMapSource will generate related files which can be read under stats.assets[0].related.
  3. SourceMapSource has changed the name property to _name.
asynchroza commented 3 months ago

Hey @aleen42, not a maintainer but thank you!

I pulled your repo and managed to get my project working. The only thing is that I get a postcss deprecation warning:

92% sealing asset processing CSSSplitWebpackPluginpostcss-chunk: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration

I would totally pull yours if you decide to fork the project since this one seems to be deserted. I could help migrating to the newer postcss version.