Skip to content

Commit 5acd5d8

Browse files
Dean SoferDean Sofer
authored andcommitted
Update vite config
1 parent 717c61e commit 5acd5d8

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"react": "^17.0.0 || ^18.0.0",
2121
"react-dom": "^17.0.0 || ^18.0.0",
2222
"react-firebaseui": "^6.0.0",
23-
"styled-components": "^6.1.10"
23+
"styled-components": "^6.1.10",
24+
"vite-plugin-devtools-json": "^0.1.0"
2425
},
2526
"devDependencies": {
2627
"@types/react": "^18.3.2",

vite.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
import { defineConfig } from 'vite'
22
import react from '@vitejs/plugin-react'
33
import { VitePWA } from 'vite-plugin-pwa'
4+
import devtoolsJson from 'vite-plugin-devtools-json';
45

56
// https://vitejs.dev/config/
67
export default defineConfig({
78
plugins: [
89
react(),
10+
devtoolsJson(),
911
VitePWA({
12+
strategies: 'injectManifest',
1013
registerType: 'autoUpdate',
1114
devOptions: {
12-
enabled: false
15+
enabled: true
1316
},
1417
manifest: {
1518
theme_color: '#ed7560',

yarn.lock

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5588,6 +5588,18 @@ utility-types@^3.10.0:
55885588
resolved "https://registry.yarnpkg.com/utility-types/-/utility-types-3.11.0.tgz#607c40edb4f258915e901ea7995607fdf319424c"
55895589
integrity sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw==
55905590

5591+
uuid@^11.1.0:
5592+
version "11.1.0"
5593+
resolved "https://artifactory.sie.sony.com/artifactory/api/npm/ce-sie-private-npm-prod-virtual/uuid/-/uuid-11.1.0.tgz#9549028be1753bb934fc96e2bca09bb4105ae912"
5594+
integrity sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==
5595+
5596+
vite-plugin-devtools-json@^0.1.0:
5597+
version "0.1.0"
5598+
resolved "https://artifactory.sie.sony.com/artifactory/api/npm/ce-sie-private-npm-prod-virtual/vite-plugin-devtools-json/-/vite-plugin-devtools-json-0.1.0.tgz#a9275a20ad9df3bbcaa5ee2880c9ad83e4fec72c"
5599+
integrity sha512-KvdgPBUAAhwnpOgXmJhs6KI4/IPn6xUppLGm20D0Uvp/doZ9TpTYYfzSHX0TgvdsSlTAwzZfzDse+ujGskp68g==
5600+
dependencies:
5601+
uuid "^11.1.0"
5602+
55915603
vite-plugin-pwa@^0.20.0:
55925604
version "0.20.0"
55935605
resolved "https://registry.yarnpkg.com/vite-plugin-pwa/-/vite-plugin-pwa-0.20.0.tgz#1785c8cc8c11c89c0ba8c6557f29e2b58b14dd6d"

0 commit comments

Comments
 (0)