You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
625 B
25 lines
625 B
|
8 months ago
|
import { defineConfig } from 'vite'
|
||
|
|
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
||
|
|
import tailwindcss from "@tailwindcss/vite";
|
||
|
|
|
||
|
|
|
||
|
|
// https://vite.dev/config/
|
||
|
|
export default defineConfig({
|
||
|
|
base: './',
|
||
|
|
plugins: [svelte(),tailwindcss()],
|
||
|
|
css: {
|
||
|
|
//transformer: 'lightningcss'
|
||
|
|
},
|
||
|
|
assetsInclude: ['**/*.otf', '**/*.woff', '**/*.woff2'],
|
||
|
|
build: {
|
||
|
|
cssCodeSplit: false,
|
||
|
|
assetsInlineLimit: 100000000, // Inline todo
|
||
|
|
rollupOptions: {
|
||
|
|
output: {
|
||
|
|
inlineDynamicImports: true,
|
||
|
|
manualChunks: undefined
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
})
|