Open pincman opened 2 years ago
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
pnpm i
pnpm dev
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.
I don't think this is related, since neither windicss or unplugin-icons uses postcss
first if install @svgr/core by pnpm for react get an warn
and then overrides it in package.json
pnpm i
and run dev server bypnpm dev
,catch the warn