]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: vapor playground preview script
authorEvan You <evan@vuejs.org>
Wed, 4 Dec 2024 14:25:50 +0000 (22:25 +0800)
committerEvan You <evan@vuejs.org>
Wed, 4 Dec 2024 14:25:50 +0000 (22:25 +0800)
playground/package.json

index d79d9541f1ea3443a9976e4abfeae5b6443a7d87..ff092f73af3a7653e02be5213b80b4336e0a1be0 100644 (file)
@@ -5,7 +5,8 @@
   "scripts": {
     "dev": "node ./setup/vite.js",
     "build": "vite build -c vite.prod.config.ts",
-    "preview": "vite preview -c vite.prod.config.ts"
+    "prepreview": "cd ../ && pnpm run build runtime-vapor -f esm-bundler",
+    "preview": "pnpm run build && vite preview -c vite.prod.config.ts"
   },
   "dependencies": {
     "@vueuse/core": "^11.1.0",