16 lines
419 B
TypeScript
16 lines
419 B
TypeScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
base: './', // Use relative paths for built assets (essential for package:// urls)
|
|
server: {
|
|
port: 3000 // Ensure dev server runs on 3000 to match settings.json expectation
|
|
},
|
|
build: {
|
|
outDir: '../client_packages/cef',
|
|
emptyOutDir: true,
|
|
}
|
|
})
|