Closed EECOLOR closed 2 weeks ago
Also adjust travis build. Node 4 is no longer supported: https://github.com/postcss/postcss/releases/tag/7.0.0
This is so necessary.
This module – on its own – pulls in two distinct versions of postcss
: graph
It's directly & solely responsible for postcss@6.0.1
being loaded.
It shares responsibility for postcss@6.0.23
with:
postcss-modules-scope@1.1.0
– (2.2.0 available)postcss-modules-local-by-default@1.2.0
– (3.0.2 available)postcss-modules-values@1.3.0
– (3.0.0 available)postcss-modules-extract-imports@1.1.0
– (2.0.0 available)Then postcss-modules
, a popular dependent of this package, requires postcss@7.0.32
– as it should, since that's the latest.
In any event postcss-modules
loads 49 packages total in its network.
This css-modules-loader-core
package is responsible for 38 of them.
No wonder postcss-modules
takes so long to install.
If you don't care about this package anymore, please transfer it to someone who does.
I'm just looking to get things fixed as quickly and simply as possible. I don't think it's wise to hold out/dream for plugin rewrites when something like dependency resolution has been a blocker/unmaintained for ~2 years
That is exactly the reason why we stepped away from using this module and just used the separate underlying modules that do the actual work.
who holds the keys to this package? @alexander-akait do you have access to this? most bundle css-modules support outside of webpack is using this incredibly outdated tool. It deserves love. I would be happy to help update and maintain it if someone who has access could please hand over the keys 🙏 css-modules is too pervasive to be abandonware and i'm happy to help! cc @markdalgleish @geelen
@jquense In hindsight using this specific module proved to cause problems. That is why we now embrace the move to the underlying libraries. If you do want to try and create a package like this, you might find some inspiration here:
https://github.com/kaliberjs/build/blob/master/library/webpack-loaders/css-loader.js https://github.com/kaliberjs/build/blob/master/library/postcss-plugins/postcss-import-export-parser.js
How I can help?
please note that you need to set the correct version and names for:
The tests are failing. In some case it might be because they reference a local version of the dependency. In others the behavior of the dependency is changed. I lack domain knowledge to determine if the changes are ok.
https://github.com/css-modules/postcss-modules-extract-imports/pull/150 https://github.com/css-modules/postcss-icss-selectors/pull/125 https://github.com/css-modules/postcss-icss-composes/pull/169 https://github.com/css-modules/postcss-icss-values/pull/113