diff --git a/astro.config.ts b/astro.config.ts index 905d2b66..15a048ea 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -42,5 +42,26 @@ export default (await import("astro/config")).defineConfig({ devSourcemap: true, transformer: "postcss", }, + plugins: [ + { + name: "crossorigin", + transform(code, id, options) { + return code + .replace(/