egoist / egoist/rollup-plugin-postcss

Css module support is broken in 3.1.3

Open
#296 8 comments 9 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
689
Forks
210
PR merge metrics
No merged PRs in 30d

Description

In 3.1.2 docs example works, imports in js return correct objects.

```js
postcss({
modules: true
})
```

In 3.1.3 same code imports return `undefined`. From https://github.com/egoist/rollup-plugin-postcss/pull/292 there is new `onlyModules` option I believe. Using it brings back correct objects.

```js
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 🙏

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.