In 3.1.2 docs example works, imports in js return correct objects.
postcss({
modules: true
})
In 3.1.3 same code imports return undefined
. From #292 there is new onlyModules
option I believe. Using it brings back correct objects.
postcss({
modules: true,
onlyModules: false
})
However, it's a breaking change, this option is not documented and I have no idea if using it is a correct workaround.
Would be awesome to see official solution to this one π
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too