From eb887377a5d98677f2248849d7acaa750daef776 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Wed, 3 Jul 2024 11:44:39 +0200 Subject: [PATCH] fix(config): :construction_worker: set assets as external path for css bundler in production mode --- fresh.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fresh.config.ts b/fresh.config.ts index f668bc5..84f25a5 100644 --- a/fresh.config.ts +++ b/fresh.config.ts @@ -3,7 +3,9 @@ import { cssBundler } from '@jotsr/smart-css-bundler/fresh' export default defineConfig({ plugins: [ - cssBundler(['./src/stylesheets/main.css'] //TODO fix bundler out paths , { bundleSubDir: 'css' } + cssBundler( + ['./src/stylesheets/main.css'], //TODO fix bundler out paths , { bundleSubDir: 'css' } + { externalPaths: ['assets'] }, ), ], })