egoist / egoist/rollup-plugin-postcss

globalModulePaths option of globalModulePaths don't works

Open
#126 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
689
Forks
210
PR merge metrics
No merged PRs in 30d

Description

I have following rollup config:
```
postcss({
extract: true,
modules: {
globalModulePaths: [/node_modules/]
},
plugins: [autoprefixer]
})
```
Then I import css from my javascript as:
```
import '@some/external/build/index.css'
```
But postcss is still modifing class names of css file imported from node_modules.

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.