From ad296fe1b8188c9cdc9f6e3cdd35c896de665d3b Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Tue, 11 Jun 2024 12:13:56 +0200 Subject: [PATCH] fix: :arrow_up: upgrade css bundler plugin --- deno.json | 2 +- fresh.config.ts | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/deno.json b/deno.json index 777dc80..679a6f3 100644 --- a/deno.json +++ b/deno.json @@ -29,7 +29,7 @@ "imports": { "$fresh/": "https://deno.land/x/fresh@1.6.8/", "$std/": "https://deno.land/std@0.208.0/", - "@jotsr/smart-css-bundler": "jsr:@jotsr/smart-css-bundler@^0.1.0", + "@jotsr/smart-css-bundler": "jsr:@jotsr/smart-css-bundler@^0.2.2", "@preact/signals": "https://esm.sh/*@preact/signals@1.2.2", "@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1", "@univoq/": "https://deno.land/x/univoq@0.2.0/", diff --git a/fresh.config.ts b/fresh.config.ts index 858780f..db2b8ab 100644 --- a/fresh.config.ts +++ b/fresh.config.ts @@ -3,12 +3,6 @@ import { cssBundler } from '@jotsr/smart-css-bundler/fresh' export default defineConfig({ plugins: [ - cssBundler( - ['./src/stylesheets/main.css'], - { - cacheDir: './_fresh/smart_css_bundler/cache', - externalPaths: [], - } - ), + cssBundler(['./src/stylesheets/main.css']) ], })