Open Creepypoke opened 5 years ago
my guess is that parcel doesn't have css-modules values plugin on by default, something that is included by default in css-loader. Or it is supported, but running an older version of the tooling that doesn't support interpolating values in selectors. To be fair support for that was only just recently added to css-loader: https://github.com/webpack-contrib/css-loader/pull/894
looks like it uses css-modules-loader-core which really needs to have it's dependencies updated
Hi! I have same problems. Any Ideas how to fix it?
the way to fix it is for someone to upgrade the postcss plugins Parcel uses
Hi! I'm facing the next problem: referring to other components does't work for me. I investigate that processing of css-loaders of webpack and parcel works is different way(surprise-surprise :)).
Example code:
What we have after Astroturf processing:
After webpack css-loader processing:
After Parcel css-loader processing:
Obviously, Parceljs just pass Astroturf result as is, don't processing
@value
notations.I create a little example with Parceljs + Astroturf for demo. Just run
yarn && yarn start
.