Skip to content

Commit

Permalink
chore(examples): add inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Aug 18, 2022
1 parent b049612 commit d461d46
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 4 deletions.
3 changes: 2 additions & 1 deletion examples/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"devDependencies": {
"unplugin-vue": "workspace:*",
"vite": "^3.0.5"
"vite": "^3.0.7",
"vite-plugin-inspect": "^0.6.0"
}
}
3 changes: 2 additions & 1 deletion examples/vite/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { defineConfig } from 'vite'
import Vue from 'unplugin-vue/vite'
import Inspect from 'vite-plugin-inspect'

export default defineConfig({
plugins: [Vue()],
plugins: [Vue(), Inspect()],
})
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
},
"scripts": {
"test": "vitest",
"dev": "tsup --watch",
"build": "tsup && tsx scripts/postbuild.mts",
"release": "bumpp",
"lint": "eslint . --ext .vue,.ts --max-warnings 0",
Expand Down
57 changes: 55 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d461d46

Please sign in to comment.