Add Splashscreen

This commit is contained in:
Prayag Prajapati committed 2023-02-21 22:33:11 +05:30
1 parent 57cc216ae8
commit 355bbcdbe3
9 files changed
+464 -33

No files matched your search

+14 -1
View File
@@ -3,11 +3,24 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import svgr from "vite-plugin-svgr";
import { viteStaticCopy } from "vite-plugin-static-copy";
import path from "path";
// https://vitejs.dev/config/
export default defineConfig({
base: "./",
plugins: [react(), svgr()],
plugins: [
react(),
svgr(),
viteStaticCopy({
targets: [
{
src: path.resolve(__dirname, "./static") + "/[!.]*", // 1️⃣
dest: "./", // 2️⃣
},
],
}),
],
css: {
modules: {
scopeBehaviour: "global",