Skip to content

Commit

Permalink
chore(deps): upgrade vite to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Novout committed Nov 14, 2022
1 parent a3320f9 commit 7e3ecb7
Show file tree
Hide file tree
Showing 3 changed files with 406 additions and 503 deletions.
12 changes: 6 additions & 6 deletions packages/better-write-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,19 @@
"prettier": "2.6.2",
"rimraf": "3.0.2",
"typescript": "4.8.4",
"unbuild": "0.8.11",
"unplugin-auto-import": "0.11.2",
"unplugin-vue-components": "0.22.8",
"vite": "2.9.15",
"unbuild": "0.9.4",
"unplugin-auto-import": "0.11.4",
"unplugin-vue-components": "0.22.9",
"vite": "3.2.3",
"vite-plugin-checker": "0.5.1",
"vite-plugin-optimize-persist": "0.1.2",
"vite-plugin-package-config": "0.1.1",
"vite-plugin-package-version": "1.0.2",
"vite-plugin-pwa": "0.12.8",
"vite-plugin-pwa": "0.13.3",
"vite-plugin-sitemap": "0.3.0",
"vite-plugin-windicss": "1.8.8",
"vitest": "0.24.0",
"vue-tsc": "1.0.0"
"vue-tsc": "1.0.9"
},
"vite": {
"optimizeDeps": {
Expand Down
13 changes: 1 addition & 12 deletions packages/better-write-app/src/use/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,6 @@ export const useEnv = () => {
}
}

const multiplayer = () => {
const pub = () =>
isDev()
? 'pk_test_-PbqG8LpfQqTC3na0DcdnuQM'
: import.meta.env.VITE_LIVEBLOCKS_PUBLIC
const pri = () => import.meta.env.VITE_LIVEBLOCKS_SECRET

return { public: pub, private: pri }
}

return {
projectEmpty,
projectLocalStorage,
Expand All @@ -100,7 +90,6 @@ export const useEnv = () => {
initialLoad,
packageVersion,
isDev,
getAccountPlanLimit,
multiplayer,
getAccountPlanLimit
}
}
Loading

0 comments on commit 7e3ecb7

Please sign in to comment.