From 5ff284c9369a7e415c98cf13b99ee295ea767506 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Tue, 11 Jun 2024 12:36:28 +0200 Subject: [PATCH] feat: :construction_worker: update css bundler plugin and move bundle dir --- deno.json | 2 +- fresh.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deno.json b/deno.json index 679a6f3..ed60b4a 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.2.2", + "@jotsr/smart-css-bundler": "jsr:@jotsr/smart-css-bundler@^0.3.0", "@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 db2b8ab..cf807c5 100644 --- a/fresh.config.ts +++ b/fresh.config.ts @@ -3,6 +3,6 @@ import { cssBundler } from '@jotsr/smart-css-bundler/fresh' export default defineConfig({ plugins: [ - cssBundler(['./src/stylesheets/main.css']) + cssBundler(['./src/stylesheets/main.css'], { bundleSubDir: 'css' }), ], })