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
Right now, the generated icon file is expected to be found inside the /static directory. My original rationale for using that instead of the publicPath in the webpack config was because <use> tags don't support cross-origin requests, and publicPath is often used to set to a CDN's domain. A better, more widely usable solution would be to take a config option in the plugin's constructor, have publicPath as a setting, and fallback to the webpack default publicPath if one is not specified.
The text was updated successfully, but these errors were encountered:
Right now, the generated icon file is expected to be found inside the
/static
directory. My original rationale for using that instead of thepublicPath
in the webpack config was because<use>
tags don't support cross-origin requests, andpublicPath
is often used to set to a CDN's domain. A better, more widely usable solution would be to take a config option in the plugin's constructor, havepublicPath
as a setting, and fallback to the webpack defaultpublicPath
if one is not specified.The text was updated successfully, but these errors were encountered: