chore: bump vue and vite (#10156)

This commit is contained in:
neverland
2022-01-06 14:59:48 +08:00
committed by GitHub
parent 1890cf6607
commit 52e74a9cc4
6 changed files with 402 additions and 114 deletions

View File

@@ -43,8 +43,7 @@
"@types/less": "^3.0.3",
"@types/lodash-es": "^4.17.5",
"@types/markdown-it": "^12.2.3",
"@vue/compiler-sfc": "^3.2.20",
"vue": "^3.2.20"
"vue": "^3.2.26"
},
"dependencies": {
"@babel/core": "^7.16.0",
@@ -56,8 +55,8 @@
"@vant/markdown-vetur": "^2.2.0",
"@vant/stylelint-config": "^1.4.2",
"@vant/touch-emulator": "^1.3.2",
"@vitejs/plugin-vue": "^1.9.4",
"@vitejs/plugin-vue-jsx": "^1.2.0",
"@vitejs/plugin-vue": "^2.0.0",
"@vitejs/plugin-vue-jsx": "^1.3.3",
"@vue/babel-plugin-jsx": "^1.1.1",
"autoprefixer": "^10.4.0",
"chalk": "^4.1.2",
@@ -90,7 +89,7 @@
"stylelint": "^13.0.0",
"transliteration": "^2.2.0",
"typescript": "^4.5.2",
"vite": "^2.6.13",
"vite": "^2.7.10",
"vite-plugin-html": "^2.1.1",
"vite-plugin-md": "^0.11.4",
"vue-router": "^4.0.12"

View File

@@ -1,7 +1,7 @@
import fse from 'fs-extra';
import path from 'path';
import hash from 'hash-sum';
import { parse, SFCBlock, compileTemplate } from '@vue/compiler-sfc';
import { parse, SFCBlock, compileTemplate } from 'vue/compiler-sfc';
import { replaceExt } from '../common/index.js';
const { remove, readFileSync, outputFile } = fse;