Open MuhammedHasan opened 6 years ago
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.
I solved my problem with using postcss-global-import package. But globalModulePaths behavior is still suspicious.
globalModulePaths
I have following rollup config:
Then I import css from my javascript as:
But postcss is still modifing class names of css file imported from node_modules.