Open
Description
How To Reproduce:
- create a basic project with webpack 4 and postcss
- for postcss-normalize set
forceImport: true
option - in entry file add several imports "[someName].css"
- build project
https://github.com/Yegorich555/FromScratch_React/tree/postcss-forceImport-bug - for this link use npm run build-dev; - look into main.css file
Actual behavior
We have postcssNormalize result as many as we have css imports in main.js
https://www.screencast.com/t/uBP6hZegP
Expected behavior
forceImport
should inject normalize-result once independently on the number of css imports into main.js. Also, this reason why it also doesn't work with *.vue files since ones have several css import (scoped and global)
Metadata
Assignees
Labels
No labels