Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

chore: migrate to vite-plugin-devtools #107

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export default defineBuildConfig({
'vite',
'vite-plugin-inspect',
'vite-plugin-vue-inspector',
'vite-plugin-devtools',
'execa',
'@webfansplz/vuedoc-parser',
],
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"scripts": {
"build": "rimraf dist && run-s build:*",
"build:client": "vite build src/client",
"build:hook": "vite build src/client -c src/client/vite.lib.config.ts",
"build:js": "unbuild",
"dev": "nr stub && pnpm dev:client",
"dev:client": "vite build src/client --watch",
Expand Down
5 changes: 5 additions & 0 deletions playground/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ import VueDevtools from 'vite-plugin-vue-devtools'

// https://vitejs.dev/config/
export default defineConfig({
server: {
fs: {
strict: false,
},
},
plugins: [
VueDevtools(),
vue(),
Expand Down
Loading