egoist / egoist/rollup-plugin-postcss

There is a way to use modules:true that not conflicts with external css files imports from node_modules?

Open
#298 3 comments 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
689
Forks
210
PR merge metrics
No merged PRs in 30d

Description

I have this rollup configuration
```
postcss({
extensions: [".css"],
modules: true,
extract: false,
}),
```

and some of my components are importing a css from a lib
```
import "slick-carousel/slick/slick.css";
import "slick-carousel/slick/slick-theme.css";
```

Using `modules: true` all the slick-carousel styles are "broken"

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.