feat: build licensed desktop image processor
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import path from 'node:path'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
|
||||
const currentDirectory = path.dirname(fileURLToPath(import.meta.url))
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(currentDirectory, 'src/renderer'),
|
||||
'@shared': path.resolve(currentDirectory, 'src/shared'),
|
||||
},
|
||||
},
|
||||
base: './',
|
||||
build: {
|
||||
outDir: 'dist',
|
||||
emptyOutDir: true,
|
||||
},
|
||||
test: {
|
||||
include: ['electron/**/*.spec.ts'],
|
||||
exclude: ['node_modules/**', 'dist/**', 'dist-electron/**', 'release/**'],
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user