mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-12-05 07:12:34 -05:00
prettify code
This commit is contained in:
@@ -11,9 +11,13 @@ const target = process.env.PROXY_TARGET ?? "http://localhost:8080/";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react(), viteCompression(), viteLegacyPlugin({
|
||||
targets: ['defaults', 'fully supports es6-module'],
|
||||
})],
|
||||
plugins: [
|
||||
react(),
|
||||
viteCompression(),
|
||||
viteLegacyPlugin({
|
||||
targets: ["defaults", "fully supports es6-module"],
|
||||
}),
|
||||
],
|
||||
server: {
|
||||
proxy: {
|
||||
"/api": {
|
||||
|
||||
Reference in New Issue
Block a user