test-card/vite.config.ts

18 lines
340 B
TypeScript
Raw Normal View History

2024-01-31 20:17:33 +01:00
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
import * as path from 'path';
2024-01-31 20:17:33 +01:00
export default defineConfig({
plugins: [sveltekit()],
resolve: {
alias: {
'@assets': path.join(__dirname, 'assets/generated')
}
},
server: {
fs: {
allow: [path.join(__dirname, 'assets/generated')]
}
}
2024-01-31 20:17:33 +01:00
});