Hi, there're two folders with svg files.
One folder contains icons, colors and inline styles should be cleared up there (using removeAttrs and inlineStyles svgo plugins).
Another folder contains big colored svgs, they should be served as files or loaded with vite-svg-loader without any plugins.
How to write the vite's configuration for this case?
How to restrict vite-svg-loader to process only files placed into some folder, and then add one more time with different options to process another folder?
Hi, there're two folders with svg files. One folder contains icons, colors and inline styles should be cleared up there (using removeAttrs and inlineStyles svgo plugins). Another folder contains big colored svgs, they should be served as files or loaded with vite-svg-loader without any plugins. How to write the vite's configuration for this case? How to restrict vite-svg-loader to process only files placed into some folder, and then add one more time with different options to process another folder?