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
Seems to be unresolved in latest release (2.6.14): #2499.
This issue has been reported before, and since the original issue is closed I assume it has a patch. However I encounter the same behaviour when attempting to load a css file from Leaflet.
For me this helped, since vite module resolution tries to be consistent within stylesheet imports and JS imports and doesn' understand the very common usage of "~" in sass or scss. Add this to your defineConfig:
resolve: {alias: [{// this is required for the SCSS modulesfind: /^~(.*)$/,replacement: '$1',},],},
But be aware that this may collide with other aliases you want to support in your JS files.
Describe the bug
Seems to be unresolved in latest release (2.6.14): #2499.
This issue has been reported before, and since the original issue is closed I assume it has a patch. However I encounter the same behaviour when attempting to load a css file from Leaflet.
Reproduction
System Info
Used Package Manager
npm
Logs
Validations
The text was updated successfully, but these errors were encountered: