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