From 8ef0591f0d0c2f6585a1e77eebc36cacbbe53c45 Mon Sep 17 00:00:00 2001 From: Ernest Teluk Date: Tue, 2 Apr 2024 14:06:34 +0200 Subject: [PATCH] fix google analytics script tag --- playground/index.html | 9 +++++++++ playground/package-lock.json | 12 +----------- playground/package.json | 3 +-- playground/vite.config.ts | 8 +------- 4 files changed, 12 insertions(+), 20 deletions(-) diff --git a/playground/index.html b/playground/index.html index db86ff0..822df2e 100644 --- a/playground/index.html +++ b/playground/index.html @@ -5,6 +5,15 @@ Sparrowql - Playground + + +
diff --git a/playground/package-lock.json b/playground/package-lock.json index ac743d3..078b512 100644 --- a/playground/package-lock.json +++ b/playground/package-lock.json @@ -25,8 +25,7 @@ "lz-string": "1.5.0", "prettier": "2.8.8", "typescript": "5.1.3", - "vite": "4.4.5", - "vite-plugin-radar": "0.9.3" + "vite": "4.4.5" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -4965,15 +4964,6 @@ } } }, - "node_modules/vite-plugin-radar": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/vite-plugin-radar/-/vite-plugin-radar-0.9.3.tgz", - "integrity": "sha512-o/7F0gHQW9yUxpExXYwQLxFYOSxiWIPs3Uh24sg+wl5ikghzLKMQ2Xldak/rsT0o06rzdrAqP9+XSOwfCbwz2Q==", - "dev": true, - "peerDependencies": { - "vite": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0" - } - }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/playground/package.json b/playground/package.json index 3fe314e..16b8983 100644 --- a/playground/package.json +++ b/playground/package.json @@ -28,7 +28,6 @@ "lz-string": "1.5.0", "prettier": "2.8.8", "typescript": "5.1.3", - "vite": "4.4.5", - "vite-plugin-radar": "0.9.3" + "vite": "4.4.5" } } diff --git a/playground/vite.config.ts b/playground/vite.config.ts index 3d16bba..3e28d43 100644 --- a/playground/vite.config.ts +++ b/playground/vite.config.ts @@ -1,14 +1,8 @@ import { defineConfig } from 'vite' import react from '@vitejs/plugin-react-swc' -import { vitePluginRadar } from 'vite-plugin-radar' // https://vitejs.dev/config/ export default defineConfig({ base: '/sparrowql/', - plugins: [react(), vitePluginRadar({ - enableDev: false, - gtm: { - id: 'G-ZDM0DBJJVX' - } - })], + plugins: [react()], })