chore(deps,deps-dev): update deps & deps-dev

This commit is contained in:
braks
2023-12-12 22:33:47 +01:00
committed by Braks
parent 04da72fbd3
commit 7ba258c53b
6 changed files with 1033 additions and 272 deletions
-1
View File
@@ -82,7 +82,6 @@ export default defineConfigWithTheme<DefaultTheme.Config>({
},
define: {
__ANALYTICS_ID__: process.env.VERCEL_ANALYTICS_ID,
__METICULOUS_PROJECT_ID__: process.env.METICULOUS_PROJECT_ID,
},
plugins: [
copyVueFlowPlugin(),
@@ -7,8 +7,6 @@ const { Layout: ParentLayout } = DefaultTheme
const route = useRoute()
const METICULOUS_SAMPLING_RATE = 0.01
onMounted(async () => {
const isDev = import.meta.env.DEV
@@ -17,18 +15,6 @@ onMounted(async () => {
webVitals({ analyticsId: '__ANALYTICS_ID__', debug: false })
}
if (!isDev || Math.random() < METICULOUS_SAMPLING_RATE) {
const { tryLoadAndStartRecorder } = await import('@alwaysmeticulous/recorder-loader')
// Start the Meticulous recorder before you initialise your app.
// Note: all errors are caught and logged, so no need to surround with try/catch
tryLoadAndStartRecorder({
projectId: '__METICULOUS_PROJECT_ID__',
isProduction: !isDev,
maxMsToBlockFor: !isDev ? 250 : undefined, // Optional, abandon waiting to load the Meticulous recorder, if it takes more than 250ms
})
}
watch(
route,
(nextRoute) => {