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
The default behaviour of URLLoader is that no limit is set for inlining files. So this effectively adds a rule telling webpack to inline all svgs regardless of file-size, overriding Gatsby's own config which sets the limit to 10KB.
The text was updated successfully, but these errors were encountered:
Undistraction
changed the title
Plugin adds webpack config meaning all images are inlined, regardless of size.
Plugin adds webpack config meaning all svgs are inlined, regardless of size.
May 10, 2022
In this plugin's
gatsby-node.js
, in theonCreateWebpackConfig
hook the following rule is added:The default behaviour of URLLoader is that no limit is set for inlining files. So this effectively adds a rule telling webpack to inline all svgs regardless of file-size, overriding Gatsby's own config which sets the limit to 10KB.
The text was updated successfully, but these errors were encountered: