2024-01-31 20:17:33 +01:00
|
|
|
import { sveltekit } from '@sveltejs/kit/vite';
|
|
|
|
import { defineConfig } from 'vite';
|
2024-02-24 22:17:57 +01:00
|
|
|
import * as path from 'path';
|
2024-01-31 20:17:33 +01:00
|
|
|
|
|
|
|
export default defineConfig({
|
2024-02-24 22:17:57 +01:00
|
|
|
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
|
|
|
});
|