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

chore: lock vite@2.9.9

上级 f90de7d2
......@@ -87,7 +87,7 @@
"semver": "^7.3.5",
"ts-jest": "^27.0.3",
"typescript": "4.6.4",
"vite": "^2.9.9",
"vite": "2.9.9",
"vue": "3.2.37",
"vue-router": "^4.0.15",
"yorkie": "^2.0.0"
......
......@@ -21,6 +21,6 @@
"compression": "^1.7.4",
"cypress": "^7.3.0",
"serve-static": "^1.14.1",
"vite": "^2.9.9"
"vite": "2.9.9"
}
}
......@@ -123,6 +123,7 @@ export default defineConfig({
target: 'es2015',
cssTarget,
minify: true,
cssCodeSplit: false,
lib: {
name: 'uni-app-view',
fileName: 'uni-app-view',
......
......@@ -40,7 +40,7 @@
"@vue/compiler-core": "3.2.37",
"esbuild": "^0.14.27",
"postcss": "^8.4.13",
"vite": "^2.9.9",
"vite": "2.9.9",
"vue": "3.2.37"
}
}
......@@ -561,15 +561,19 @@ async function compileCSS(
...postcssOptions,
to: id,
from: id,
map: {
inline: false,
annotation: false,
// postcss may return virtual files
// we cannot obtain content of them, so this needs to be enabled
sourcesContent: true,
// when "prev: preprocessorMap", the result map may include duplicate filename in `postcssResult.map.sources`
// prev: preprocessorMap,
},
...(devSourcemap
? {
map: {
inline: false,
annotation: false,
// postcss may return virtual files
// we cannot obtain content of them, so this needs to be enabled
sourcesContent: true,
// when "prev: preprocessorMap", the result map may include duplicate filename in `postcssResult.map.sources`
// prev: preprocessorMap,
},
}
: {}),
})
// record CSS dependencies from @imports
......
......@@ -53,11 +53,11 @@
"@types/sass": "^1.16.0",
"@vue/babel-plugin-jsx": "^1.1.1",
"chokidar": "^3.5.3",
"vite": "^2.9.9",
"vite": "2.9.9",
"vue": "3.2.37"
},
"peerDependencies": {
"vite": "^2.9.9"
"vite": "2.9.9"
},
"uni-app": {
"compilerVersion": "3.4.13"
......
......@@ -50,7 +50,7 @@ importers:
semver: ^7.3.5
ts-jest: ^27.0.3
typescript: 4.6.4
vite: ^2.9.9
vite: 2.9.9
vue: 3.2.37
vue-router: ^4.0.15
yorkie: ^2.0.0
......@@ -115,7 +115,7 @@ importers:
compression: ^1.7.4
cypress: ^7.3.0
serve-static: ^1.14.1
vite: ^2.9.9
vite: 2.9.9
vue: 3.2.37
vue-router: ^4.0.15
vuex: ^4.0.2
......@@ -229,7 +229,7 @@ importers:
picocolors: ^1.0.0
postcss: ^8.4.13
rollup: ^2.59.0
vite: ^2.9.9
vite: 2.9.9
vue: 3.2.37
dependencies:
'@dcloudio/uni-cli-shared': link:../uni-cli-shared
......@@ -864,7 +864,7 @@ importers:
hash-sum: ^2.0.0
jsonc-parser: ^3.0.0
picocolors: ^1.0.0
vite: ^2.9.9
vite: 2.9.9
vue: 3.2.37
dependencies:
'@babel/core': 7.17.10
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册