Skip to content

Commit 60cabc9

Browse files
authored
Merge pull request #8099 from JerryWu1234/integrate_qwik_devtool
Integrate devtool into qwik docs
2 parents 2f50042 + 83db141 commit 60cabc9

File tree

3 files changed

+256
-5
lines changed

3 files changed

+256
-5
lines changed

packages/docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@
5656
"typescript": "5.9.3",
5757
"valibot": "0.33.3",
5858
"vite": "7.1.11",
59-
"vite-plugin-inspect": "11.3.3",
6059
"vite-tsconfig-paths": "5.1.4",
61-
"wrangler": "3.65.1"
60+
"wrangler": "3.65.1",
61+
"@qwik.dev/devtools": "0.2.1"
6262
},
6363
"engines": {
6464
"node": "^18.17.0 || ^20.3.0 || >=21.0.0",

packages/docs/vite.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import { defineConfig, loadEnv, type Plugin, type Rollup, type UserConfig } from
1414
import { compiledStringPlugin } from '../../scripts/compiled-string-plugin';
1515
import { examplesData, playgroundData, rawSource, tutorialData } from './vite.repl-apps';
1616
import { sourceResolver } from './vite.source-resolver';
17+
import { qwikDevtools } from '@qwik.dev/devtools';
1718

1819
const insightsApiKey = loadEnv('', '.', 'PUBLIC').PUBLIC_QWIK_INSIGHTS_KEY;
1920
const docsDir = new URL(import.meta.url).pathname;
@@ -245,6 +246,7 @@ export default defineConfig(() => {
245246
qwikInsights({ publicApiKey: insightsApiKey }),
246247
tailwindcss(),
247248
overrideManualChunksForRepl(),
249+
qwikDevtools(),
248250
],
249251
build: {
250252
sourcemap: true,

0 commit comments

Comments
 (0)