work with windicss will catch an warn after run dev server
pincman opened this issue · comments
pincman commented
first if install @svgr/core by pnpm for react
get an warn
WARN Issues with peer dependencies found
.
└─┬ unplugin-icons
└── ✕ unmet peer @svgr/core@^5.5.0: found 6.1.2
and then overrides it in package.json
"pnpm": {
"overrides": {
// ...others
"@svgr/core": "^5.5.0"
}
}
pnpm i
and run dev server by pnpm dev
,catch the warn
Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.
Anthony Fu commented
I don't think this is related, since neither windicss or unplugin-icons uses postcss