13 lines
369 B
JavaScript
13 lines
369 B
JavaScript
import { fileURLToPath, URL } from 'node:url'
|
|
import { defineConfig } from 'vite'
|
|
import sharedConfig from '../shared/vite.config.js'
|
|
|
|
export default defineConfig({
|
|
...sharedConfig,
|
|
resolve: {
|
|
alias: {
|
|
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
|
'@shared': fileURLToPath(new URL('../shared', import.meta.url)),
|
|
},
|
|
},
|
|
})
|