21 lines
628 B
JavaScript
21 lines
628 B
JavaScript
import { fileURLToPath, URL } from 'node:url'
|
|
import { defineConfig, mergeConfig } from 'vite'
|
|
import sharedConfig from '../../shared/vite.config.js'
|
|
|
|
export default defineConfig(
|
|
mergeConfig(sharedConfig, {
|
|
resolve: {
|
|
alias: {
|
|
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
|
'@shared': fileURLToPath(
|
|
new URL('../../shared', import.meta.url),
|
|
),
|
|
},
|
|
},
|
|
base: '/drops/testing/',
|
|
build: {
|
|
outDir: '../../app/public/drops/testing',
|
|
emptyOutDir: true,
|
|
},
|
|
}),
|
|
)
|