web build
This commit is contained in:
20
vite.config.js
Normal file
20
vite.config.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import { fileURLToPath, URL } from 'node:url'
|
||||
|
||||
import { defineConfig } from 'vite'
|
||||
import { sharedConfig } from './vite.shared'
|
||||
|
||||
export default defineConfig({
|
||||
...sharedConfig,
|
||||
root: 'src/renderer',
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
||||
},
|
||||
},
|
||||
server: {
|
||||
port: 3000,
|
||||
},
|
||||
build: {
|
||||
outDir: '../../dist/renderer',
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user