mirror of
https://git.v0l.io/Kieran/dtan.git
synced 2024-12-12 23:16:21 +00:00
26 lines
465 B
TypeScript
26 lines
465 B
TypeScript
import { defineConfig, searchForWorkspaceRoot } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
import { VitePWA } from "vite-plugin-pwa";
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [
|
|
react(),
|
|
VitePWA({
|
|
registerType: "autoUpdate",
|
|
devOptions: {
|
|
enabled: false,
|
|
type: "module",
|
|
},
|
|
}),
|
|
],
|
|
server: {
|
|
fs: {
|
|
strict: false,
|
|
},
|
|
},
|
|
worker: {
|
|
format: "es",
|
|
},
|
|
});
|