From e75f41f7f10639e1a082809b019044c1321dc94d Mon Sep 17 00:00:00 2001 From: Ari Date: Thu, 15 May 2025 03:30:53 -0400 Subject: [PATCH] Run the plugin before svelte --- theming.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/theming.ts b/theming.ts index 174daa4..9cee430 100644 --- a/theming.ts +++ b/theming.ts @@ -9,6 +9,7 @@ export const themePlugin = (): Plugin => { console.log(`Using theme file: ${themeFile}`); return { name: 'theme-generator', + enforce: 'pre', // Ensure this plugin runs first transform(code, id) { if (id.endsWith('app.css')) { const colorsCode = Deno.readTextFileSync(Deno.cwd() + '/src/themes/colors.css');