website/fresh.config.ts

12 lines
301 B
TypeScript

import { defineConfig } from '$fresh/server.ts'
import { cssBundler } from '@jotsr/smart-css-bundler/fresh'
export default defineConfig({
plugins: [
cssBundler(
['./src/stylesheets/main.css'], //TODO fix bundler out paths , { bundleSubDir: 'css' }
{ externalPaths: ['assets'] },
),
],
})