mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-03-16 09:26:20 +00:00
13 lines
356 B
JavaScript
13 lines
356 B
JavaScript
import { sveltekit } from '@sveltejs/kit/vite'
|
|
import { fileURLToPath, URL } from 'url'
|
|
import { defineConfig } from 'vite'
|
|
import { resolve } from 'path'
|
|
|
|
export default defineConfig({
|
|
plugins: [sveltekit()],
|
|
resolve: {
|
|
alias: [
|
|
{ find: '@', replacement: resolve(fileURLToPath(new URL('./', import.meta.url)), '..', 'common') }
|
|
]
|
|
}
|
|
})
|