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