test-card/vite.config.ts

18 lines
378 B
TypeScript
Raw Permalink 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: {
2024-02-24 22:48:40 +01:00
allow: [path.join(__dirname, 'assets/generated'), path.join(__dirname, 'package.json')]
}
}
2024-01-31 20:17:33 +01:00
});