You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a production build, this plugin will emit SVG components as separate files instead of having them be included in the main bundle.
Example: I have an icon foo.svg in my project. When I create a production build, the output bundle will contain the file foo.hash.js
However, I would prefer that the contents of foo.hash.js file were to be included in the index.hash.js file, so that not all SVG components need to be loaded separately.
Also: SVG files are still included in the bundle as well.
Config:
svgr({exportAsDefault: true}),
The text was updated successfully, but these errors were encountered:
When creating a production build, this plugin will emit SVG components as separate files instead of having them be included in the main bundle.
Example: I have an icon foo.svg in my project. When I create a production build, the output bundle will contain the file foo.hash.js
However, I would prefer that the contents of foo.hash.js file were to be included in the index.hash.js file, so that not all SVG components need to be loaded separately.
Also: SVG files are still included in the bundle as well.
Config:
The text was updated successfully, but these errors were encountered: