fix: kiosk toggle sync, load more animation, remove nsis target
This commit is contained in:
@@ -1,19 +1,29 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import { resolve } from 'path'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
base: './',
|
||||
build: {
|
||||
outDir: 'dist',
|
||||
rollupOptions: {
|
||||
input: {
|
||||
main: resolve(__dirname, 'index.html'),
|
||||
loader: resolve(__dirname, 'loader.html'),
|
||||
'dialog-error': resolve(__dirname, 'dialog-error.html'),
|
||||
'dialog-confirm': resolve(__dirname, 'dialog-confirm.html'),
|
||||
sidebar: resolve(__dirname, 'sidebar.html'),
|
||||
},
|
||||
},
|
||||
},
|
||||
server: {
|
||||
port: 5173,
|
||||
watch: {
|
||||
ignored: ['**/extensions/**', '**/node_modules/**'],
|
||||
ignored: ['**/extensions/**', '**/node_modules/**', '**/release/**', '**/dist/**'],
|
||||
},
|
||||
},
|
||||
optimizeDeps: {
|
||||
entries: ['index.html', 'src/**/*.tsx', 'src/**/*.ts'],
|
||||
entries: ['index.html', 'loader.html', 'dialog-error.html', 'dialog-confirm.html', 'src/**/*.tsx', 'src/**/*.ts'],
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user