fix: ⬆️ upgrade css bundler plugin

This commit is contained in:
Julien Oculi 2024-06-11 12:13:56 +02:00
parent cc9235d64f
commit ad296fe1b8
2 changed files with 2 additions and 8 deletions

View file

@ -29,7 +29,7 @@
"imports": { "imports": {
"$fresh/": "https://deno.land/x/fresh@1.6.8/", "$fresh/": "https://deno.land/x/fresh@1.6.8/",
"$std/": "https://deno.land/std@0.208.0/", "$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": "https://esm.sh/*@preact/signals@1.2.2",
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1", "@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
"@univoq/": "https://deno.land/x/univoq@0.2.0/", "@univoq/": "https://deno.land/x/univoq@0.2.0/",

View file

@ -3,12 +3,6 @@ import { cssBundler } from '@jotsr/smart-css-bundler/fresh'
export default defineConfig({ export default defineConfig({
plugins: [ plugins: [
cssBundler( cssBundler(['./src/stylesheets/main.css'])
['./src/stylesheets/main.css'],
{
cacheDir: './_fresh/smart_css_bundler/cache',
externalPaths: [],
}
),
], ],
}) })