Hello,
Thank you for this project, it's very promising!
I'm working on a project has a number of SVG imports, and in the current webpack setup they are imported as SVGR:
import Prev2 from '../img/Prev2.svg';
import Prev from '../img/Prev.svg';
import Next2 from '../img/Next2.svg';
import Next from '../img/Next.svg';
esbuild does not support SVGs natively, however, there is a plugin for this: https://github.com/kazijawad/esbuild-plugin-svgr
Unfortunately, plugins cannot be configured through the esbuild CLI, and must be specified be specified in JavaScript or Go: evanw/esbuild#111 (comment).
Is there a way I could use the SVGR plugin via sørvør?
Thanks!
Hello,
Thank you for this project, it's very promising!
I'm working on a project has a number of SVG imports, and in the current webpack setup they are imported as SVGR:
esbuild does not support SVGs natively, however, there is a plugin for this: https://github.com/kazijawad/esbuild-plugin-svgr
Unfortunately, plugins cannot be configured through the esbuild CLI, and must be specified be specified in JavaScript or Go: evanw/esbuild#111 (comment).
Is there a way I could use the SVGR plugin via sørvør?
Thanks!