Jevon617 / unplugin-svg-component

generate a vue/react component through svg files, supporting svg file HMR, Tree-shaking, SSR and TS hint.
MIT License
58 stars 5 forks source link

deprecated dependencies #14

Closed Asdreu closed 5 months ago

Asdreu commented 9 months ago

when I execute command npm install unplugin-svg-component -D,the npm show warn below.

nodejs version >= 18

npm WARN deprecated source-map-url@0.4.1: See https: //github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https: //github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated resolve-url@0.2.1: https: //github.com/ydell/resolve-url#deprecated

I found the reason is svg-baker. Maybe you need to replace this dependency.

Jevon617 commented 9 months ago

Indeed, I may replace this dependency with svg-sprite.

Jevon617 commented 5 months ago

@Asdreu svg-baker has been replaced with svg-sprite in v0.9.0.