Multiple theme support & fixes

This commit is contained in:
Sacha Weatherstone
2022-12-29 23:45:16 +11:00
parent 5022bda660
commit dab158c7b3
61 changed files with 2462 additions and 581 deletions
+7
View File
@@ -3,6 +3,7 @@ import { resolve } from "path";
import { visualizer } from "rollup-plugin-visualizer";
import { defineConfig } from "vite";
import EnvironmentPlugin from "vite-plugin-environment";
import { VitePWA } from "vite-plugin-pwa";
import react from "@vitejs/plugin-react";
@@ -19,6 +20,12 @@ export default defineConfig({
react(),
EnvironmentPlugin({
COMMIT_HASH: hash
}),
VitePWA({
registerType: "autoUpdate",
devOptions: {
enabled: true
}
})
],
build: {