esbuild-plugin-svgr
esbuild-plugin-svgr copied to clipboard
An esbuild plugin for importing SVGs as React components.
Is there a way to use esbuild-plugin-svgr for svgs imported in js while having css urls passed through to a specified esbuild loader like dataurl? As a work around, I...
I am trying to use this plugin for SVGs used as ReactComponent with ESBuild. I am facing `The entry point "./src/assets/text.svg" cannot be marked as external` error. Can someone help...
I have a scss file that looks like this: **index.scss** ```scss body { background-image: url(@src/logo.svg); } ``` When I build the project, the resulting css file will contain the same...
First of all, thank you for creating this plugin. I came to esbuild-plugin-svgr from @svgr/rollup and was happy that there allready exists an equivalent to the rollup version. Unfortunately, I...