mirror of https://github.com/sveltejs/svelte
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.
24 lines
450 B
24 lines
450 B
11 months ago
|
import { defineConfig } from 'vite';
|
||
5 months ago
|
import inspect from 'vite-plugin-inspect';
|
||
11 months ago
|
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
||
|
|
||
|
export default defineConfig({
|
||
5 months ago
|
build: {
|
||
|
minify: false
|
||
|
},
|
||
3 months ago
|
|
||
|
plugins: [
|
||
|
inspect(),
|
||
|
svelte({
|
||
|
compilerOptions: {
|
||
|
hmr: true
|
||
|
}
|
||
|
})
|
||
|
],
|
||
|
|
||
11 months ago
|
optimizeDeps: {
|
||
|
// svelte is a local workspace package, optimizing it would require dev server restarts with --force for every change
|
||
|
exclude: ['svelte']
|
||
|
}
|
||
11 months ago
|
});
|