Skip to content

Commit 61bf972

Browse files
authored
chore: improve local playground (#11575)
1 parent 81517a5 commit 61bf972

File tree

5 files changed

+115
-2
lines changed

5 files changed

+115
-2
lines changed

playgrounds/demo/favicon.png

1.53 KB
Loading

playgrounds/demo/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!doctype html>
22
<html lang="en">
33
<head>
4+
<link rel="icon" href="/favicon.png" />
45
<link href="/demo.css" rel="stylesheet" />
56
<!--ssr-head-->
67
</head>

playgrounds/demo/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"express": "^4.19.2",
1616
"nodemon": "^3.0.3",
1717
"svelte": "workspace:*",
18-
"vite": "^5.0.13"
18+
"vite": "^5.0.13",
19+
"vite-plugin-inspect": "^0.8.4"
1920
}
2021
}

playgrounds/demo/vite.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import { defineConfig } from 'vite';
2+
import inspect from 'vite-plugin-inspect';
23
import { svelte } from '@sveltejs/vite-plugin-svelte';
34

45
export default defineConfig({
5-
plugins: [svelte()],
6+
plugins: [inspect(), svelte()],
67
optimizeDeps: {
78
// svelte is a local workspace package, optimizing it would require dev server restarts with --force for every change
89
exclude: ['svelte']

pnpm-lock.yaml

Lines changed: 110 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)