-
Notifications
You must be signed in to change notification settings - Fork 3
/
vite.config.js
39 lines (38 loc) · 873 Bytes
/
vite.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { defineConfig } from "vite";
import reactRefresh from "@vitejs/plugin-react";
import svgrPlugin from "vite-plugin-svgr";
import { VitePWA } from "vite-plugin-pwa";
export default defineConfig({
build: {
outDir: "build",
},
plugins: [
reactRefresh(),
svgrPlugin({
svgrOptions: {
icon: true,
},
}),
VitePWA({
registerType: "autoUpdate",
manifest: {
name: "Al Quran Digital",
short_name: "Al Quran Digital",
description: "Baca Al Quran dengan Mudah dan Praktis",
theme_color: "#ffffff",
icons: [
{
src: "favicon.png",
sizes: "192x192",
type: "image/png",
},
{
src: "favicon.png",
sizes: "512x512",
type: "image/png",
},
],
},
}),
],
});