From f1e56df6f0033edd41de2445426fdd206ec2700e Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Thu, 19 Dec 2024 02:43:08 +0200 Subject: [PATCH] --- astro.config.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/astro.config.ts b/astro.config.ts index 4cd5cd26..2670bd11 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(/