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
While trying to integrate this plugin in an Astro project, the parameter provided by srcUrlToFilename couldn’t be used, as sometimes, the url has a format similar to .__VITE_ASSET__abcd1234__.
In order to mitigate the issue, I came up with the idea of including the plugin twice and returning a static path via srcUrlToFilename. However, the following postcss.config.cjs produces unwanted 'Missing font type mapping' warnings as a result:
While trying to integrate this plugin in an Astro project, the parameter provided by
srcUrlToFilename
couldn’t be used, as sometimes, theurl
has a format similar to.__VITE_ASSET__abcd1234__
.In order to mitigate the issue, I came up with the idea of including the plugin twice and returning a static path via
srcUrlToFilename
. However, the followingpostcss.config.cjs
produces unwanted 'Missing font type mapping' warnings as a result:I’d propose an option to suppress such warnings as a mitigation.
The text was updated successfully, but these errors were encountered: