mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-27 02:27:18 +00:00
Merge branch 'dev' into tauri
This commit is contained in:
commit
873e2e1654
53 files changed
+570
-509
No files matched your search
@@ -23,5 +23,9 @@ export async function load(url, context, nextLoad) {
|
||||
if (url.endsWith('.css')) {
|
||||
return { format: 'module', source: '', shortCircuit: true };
|
||||
}
|
||||
// The URL of a file given by Vite (`?url`, `?worker&url`), which the tests do not load.
|
||||
if (new URL(url).searchParams.has('url')) {
|
||||
return { format: 'module', source: "export default '';", shortCircuit: true };
|
||||
}
|
||||
return nextLoad(url, context);
|
||||
}
|
||||
Reference in new issue
Block a user