提交 f4878e09 编写于 作者: fxy060608's avatar fxy060608

build(deps): bump vite from 2.2.3 to 2.3.0

上级 b622147f
......@@ -61,7 +61,7 @@ jobs:
- name: Cypress run
uses: cypress-io/github-action@v2.3.6
with:
install: true
install: false
start: npm run dev:ssr
working-directory: ./packages/playground/ssr
wait-on: 'http://localhost:3000'
......
......@@ -12,8 +12,9 @@
"ls-lint": "ls-lint",
"test": "jest",
"preinstall": "node ./scripts/checkYarn.js",
"e2e:ssr:open": "cd packages/playground/ssr && npx cypress open",
"e2e:ssr:dev": "cd packages/playground/ssr && npm run dev:ssr"
"e2e:ssr:install": "cd packages/playground/ssr && rm -rf node_modules yarn.lock && yarn",
"e2e:ssr:dev": "cd packages/playground/ssr && npm run dev:ssr",
"e2e:ssr:open": "cd packages/playground/ssr && npx cypress open"
},
"types": "test-dts/index.d.ts",
"tsd": {
......@@ -74,7 +75,7 @@
"semver": "^7.3.4",
"ts-jest": "^26.4.4",
"typescript": "~4.1.3",
"vite": "^2.2.4",
"vite": "^2.3.0",
"vue": "3.0.11",
"yorkie": "^2.0.0"
}
......
......@@ -21,12 +21,12 @@
"devDependencies": {
"@dcloudio/uni-cli-shared": "../../uni-cli-shared",
"@dcloudio/vite-plugin-uni": "../../vite-plugin-uni",
"@vitejs/plugin-vue": "^1.2.1",
"@vitejs/plugin-vue": "^1.2.2",
"@vue/compiler-sfc": "^3.0.11",
"@vue/server-renderer": "^3.0.11",
"compression": "^1.7.4",
"cypress": "^7.3.0",
"serve-static": "^1.14.1",
"vite": "^2.2.3"
"vite": "^2.3.0"
}
}
......@@ -195,7 +195,7 @@
resolved "https://registry.yarnpkg.com/@types/sizzle/-/sizzle-2.3.3.tgz#ff5e2f1902969d305225a047c8a0fd5c915cebef"
integrity sha512-JYM8x9EGF163bEyhdJBpR2QX1R5naCJHC8ucJylJ3w9/CVBaskdQ8WqBf8MmQrd1kRvp/a4TS8HJ+bxzR7ZJYQ==
"@vitejs/plugin-vue@^1.2.1":
"@vitejs/plugin-vue@^1.2.2":
version "1.2.2"
resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-1.2.2.tgz#b0038fc11b9099f4cd01fcbf0ee419adda417b52"
integrity sha512-5BI2WFfs/Z0pAV4S/IQf1oH3bmFYlL5ATMBHgTt1Lf7hAnfpNd5oUAAs6hZPfk3QhvyUQgtk0rJBlabwNFcBJQ==
......@@ -2449,7 +2449,7 @@ verror@1.10.0:
core-util-is "1.0.2"
extsprintf "^1.2.0"
vite@^2.2.3:
vite@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/vite/-/vite-2.3.0.tgz#02b007c7aa4ac88cc18f854b9c68e4fbe76e3ef4"
integrity sha512-gsCy0t3X9nGGYDoNiE2NJgYq6BPxrtKeo6FkpMXdMvtUluYxnRhl7xfpHaYDmQLCnMbYTWhvWS1L/Hpw/V9L5w==
......
......@@ -44,7 +44,7 @@
"@dcloudio/uni-cli-shared": "^3.0.0",
"@dcloudio/uni-shared": "^3.0.0",
"@vue/shared": "^3.0.11",
"vite": "^2.2.3"
"vite": "^2.3.0"
},
"devDependencies": {
"@types/express": "^4.17.11",
......
......@@ -31,6 +31,7 @@ export function createConfig(
const { h5 } = parseManifestJsonOnce(options.inputDir)
return {
base: (h5 && h5.router && h5.router.base) || '',
publicDir: false,
define: extend(define, options.compiler.define()),
resolve: createResolve(options, config),
optimizeDeps: createOptimizeDeps(options),
......
......@@ -6309,7 +6309,7 @@ verror@1.10.0:
core-util-is "1.0.2"
extsprintf "^1.2.0"
vite@^2.2.4:
vite@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/vite/-/vite-2.3.0.tgz#02b007c7aa4ac88cc18f854b9c68e4fbe76e3ef4"
integrity sha512-gsCy0t3X9nGGYDoNiE2NJgYq6BPxrtKeo6FkpMXdMvtUluYxnRhl7xfpHaYDmQLCnMbYTWhvWS1L/Hpw/V9L5w==
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册