defaultkavy
93b06d7c80
new: touch or pen gesture open/close $Drawer. optimize: move numberFormat function to Util. new: video controller. optimize: $PostTile video duration update by timeupdate event. change: post viewer height depend on dynamic viewport height.
17 lines
386 B
TypeScript
17 lines
386 B
TypeScript
import { defineConfig } from 'vite';
|
|
export default defineConfig({
|
|
server: {
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://localhost:3030',
|
|
changeOrigin: true
|
|
},
|
|
},
|
|
watch: {
|
|
usePolling: true
|
|
}
|
|
},
|
|
define: {
|
|
__APP_VERSION__: JSON.stringify(process.env.npm_package_version)
|
|
}
|
|
}) |