Closed JamesTheHacker closed 5 years ago
What happens if you move postcss-normalize to the end of your plugin list? Does it correct the output?
If it resolves your issue, this is a workaround, and the issue is a limitation of PostCSS and the PostCSS Import plugin.
That solved it.
I'm trying to use postcss-normalize with PostCSS. Anywhere I place the plugin in the list causes it to override my styles. I have
forceImport
set to true so I don't need to import it anywhere.Here's my
.postcssrc
:I'm also using ParcelJS and I import my styles in
index.js
like so:A module looks like this:
The CSS is imported in the
index.js
for that module.Any ideas how to solve this? Why is normalize overriding my own styles?