mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-06-28 07:19:09 +00:00
feat: use enhanced-img for optimizations
This commit is contained in:
parent
4e1b4cb5fe
commit
2d7bc6793e
7 changed files with 339 additions and 16 deletions
|
@ -1,8 +1,9 @@
|
|||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
import { enhancedImages } from '@sveltejs/enhanced-img';
|
||||
import { defineConfig } from 'vite';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [sveltekit()],
|
||||
plugins: [enhancedImages(), sveltekit()],
|
||||
ssr: {
|
||||
noExternal: ['three']
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue