fix redirect when map url is present

This commit is contained in:
Lukas Hass
2022-02-01 11:15:52 +01:00
parent 2d8fa591cf
commit b1d9e603b8
3 changed files with 10 additions and 0 deletions
+2
View File
@@ -2,6 +2,7 @@ import { defineConfig } from "vite";
import { svelte } from "@sveltejs/vite-plugin-svelte";
import { envConfig } from "@geprog/vite-plugin-env-config";
import sveltePreprocess from "svelte-preprocess";
import pluginRewriteAll from 'vite-plugin-rewrite-all';
export default defineConfig({
server: {
@@ -44,5 +45,6 @@ export default defineConfig({
"FALLBACK_LOCALE",
],
}),
pluginRewriteAll(),
],
});