Hello
Can you please update next-css config & dependencies? A new version of extract-css-chunks-webpack-plugin package is available, which introduces ignoreOrder option and it would be great if this option was available in this plugin.
Last update was 9 months ago :[
@michu2k if you are just using css and don't need less/sass, how about trying experimental: { css: true }? See https://github.com/zeit/next.js/issues/8626 and https://github.com/zeit/next.js/pull/8710.
That said, I think it would be valuable to release new versions of next-css, next-less and next-sass plugins. Despite that the built-in support is coming in future, certain scenarios are getting pretty painful today. So a simple dependency update in plugins would be a huge relief to many of us 馃檹
Thanks @kachkaev for the answer. I really appreciate your help, but I'm using sass in my project.
extract-css-chunks-webpack-plugin the latest version is 4.7.1锛宐ut in this repos use 3.7.1锛宼his version has some issue likes #174, I fork the project, and fix it in local, but I wish it can be updated
I ended up forking next-css and installing the package from github directly.
:\
Ugh... doesn't look like this is ever going to get an update.
They're fixated on zeit/next.js#8626 :(
Hi, thanks for creating an issue. We currently recommend using https://nextjs.org/docs/basic-features/built-in-css-support as the plugins have been deprecated in favor of the built-in support.
@timneutkens unfortunately we still need plugins for projects using less. It鈥檇 be great to get some attention to these, which would involve upgrades to the plugins. I know that using CSS modules or styled-components is better, but it鈥檚 not always possible.
An example of a hard dependency on less is ant design. That library is very popular (55K github stars) and the integration between it and Next is quite painful at the moment. Deprecation of next-css and next-less makes things worse in the long run as they are currently needed for the setup.
Most helpful comment
@michu2k if you are just using css and don't need less/sass, how about trying
experimental: { css: true }? See https://github.com/zeit/next.js/issues/8626 and https://github.com/zeit/next.js/pull/8710.That said, I think it would be valuable to release new versions of
next-css,next-lessandnext-sassplugins. Despite that the built-in support is coming in future, certain scenarios are getting pretty painful today. So a simple dependency update in plugins would be a huge relief to many of us 馃檹