feat: include vite-plugin-inspect

This commit is contained in:
Anthony Fu 2021-09-11 07:33:14 +08:00
parent 7ee3414a35
commit 8c32066a59
3 changed files with 335 additions and 198 deletions

View File

@ -7,37 +7,38 @@
"preview-https": "serve dist"
},
"dependencies": {
"@vueuse/core": "^6.2.1",
"@vueuse/core": "^6.3.2",
"@vueuse/head": "^0.6.0",
"nprogress": "^0.2.0",
"pinia": "^2.0.0-rc.8",
"prism-theme-vars": "^0.2.2",
"vue": "^3.2.9",
"vue": "^3.2.11",
"vue-demi": "^0.11.4",
"vue-i18n": "^9.1.7",
"vue-router": "^4.0.11"
},
"devDependencies": {
"@antfu/eslint-config": "^0.7.0",
"@iconify/json": "^1.1.398",
"@antfu/eslint-config": "^0.8.1",
"@iconify/json": "^1.1.400",
"@intlify/vite-plugin-vue-i18n": "^2.4.0",
"@types/markdown-it-link-attributes": "^3.0.1",
"@types/nprogress": "^0.2.0",
"@vitejs/plugin-vue": "^1.6.1",
"@vitejs/plugin-vue": "^1.6.2",
"@vue/compiler-sfc": "^3.2.9",
"@vue/server-renderer": "^3.2.9",
"@vue/server-renderer": "^3.2.11",
"critters": "^0.0.10",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"https-localhost": "^4.6.5",
"https-localhost": "^4.7.0",
"markdown-it-link-attributes": "^3.0.0",
"markdown-it-prism": "^2.2.0",
"pnpm": "^6.14.7",
"typescript": "^4.4.2",
"typescript": "^4.4.3",
"unplugin-auto-import": "^0.4.5",
"unplugin-icons": "^0.7.6",
"unplugin-vue-components": "^0.14.13",
"vite": "^2.5.4",
"unplugin-vue-components": "^0.15.0",
"vite": "^2.5.6",
"vite-plugin-inspect": "^0.3.4",
"vite-plugin-md": "^0.11.0",
"vite-plugin-pages": "^0.18.0",
"vite-plugin-pwa": "^0.11.2",

File diff suppressed because it is too large Load Diff

View File

@ -11,6 +11,7 @@ import Markdown from 'vite-plugin-md'
import WindiCSS from 'vite-plugin-windicss'
import { VitePWA } from 'vite-plugin-pwa'
import VueI18n from '@intlify/vite-plugin-vue-i18n'
import Inspect from 'vite-plugin-inspect'
import Prism from 'markdown-it-prism'
import LinkAttributes from 'markdown-it-link-attributes'
@ -129,6 +130,12 @@ export default defineConfig({
compositionOnly: true,
include: [path.resolve(__dirname, 'locales/**')],
}),
// https://github.com/antfu/vite-plugin-inspect
Inspect({
// change this to enable inspect for debugging
enabled: false,
}),
],
server: {