fix(config): 👷 set assets as external path for css bundler in production mode

This commit is contained in:
Julien Oculi 2024-07-03 11:44:39 +02:00
parent d44771dab9
commit eb887377a5

View file

@ -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'] },
),
],
})