mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-06-28 07:19:09 +00:00
feat: Simplify image conversion
This commit is contained in:
parent
c92a3697f0
commit
05c4e74420
8 changed files with 557 additions and 955 deletions
|
@ -1,10 +1,9 @@
|
|||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
import { enhancedImages } from '@sveltejs/enhanced-img';
|
||||
import { defineConfig } from 'vite';
|
||||
import fs from 'fs';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [base64(), enhancedImages(), rawFonts(['.woff']), sveltekit()],
|
||||
plugins: [base64(), rawFonts(['.woff']), sveltekit()],
|
||||
define: {
|
||||
'import.meta.env.VERCEL_URL': JSON.stringify(process.env.VERCEL_URL),
|
||||
'import.meta.env.VERCEL_ENV': JSON.stringify(process.env.VERCEL_ENV)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue