Compare commits

...

3 Commits

Author SHA1 Message Date
chenjiahan
b59f58e951 docs(@vant/cli): changelog 2.11.4 2021-11-29 13:28:17 +08:00
chenjiahan
b9eb574eb0 chore: release @vant/cli@2.11.4 2021-11-29 11:56:28 +08:00
neverland
b04bac5844
fix(@vant/cli): incorrect global object for async chunk (#9955) 2021-11-29 11:55:42 +08:00
4 changed files with 11 additions and 5 deletions

View File

@ -1,5 +1,11 @@
# 更新日志
## v2.11.4
`2021-11-29`
- 修复加载异步模块时报错的问题
## v2.11.3
`2021-08-10`

View File

@ -1,6 +1,6 @@
{
"name": "@vant/cli",
"version": "2.11.3",
"version": "2.11.4",
"description": "",
"main": "lib/index.js",
"typings": "lib/index.d.ts",

View File

@ -24,7 +24,7 @@ export function getPackageConfig(isMinify: boolean): WebpackConfig {
filename: isMinify ? '[name].min.js' : '[name].js',
umdNamedDefine: true,
// https://github.com/webpack/webpack/issues/6522
globalObject: "typeof self !== 'undefined' ? self : this",
globalObject: "(typeof self !== 'undefined' ? self : this)",
},
externals: {
vue: {

View File

@ -3385,9 +3385,9 @@ camelcase@^6.0.0:
integrity sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w==
caniuse-lite@^1.0.30001038, caniuse-lite@^1.0.30001039, caniuse-lite@^1.0.30001087, caniuse-lite@^1.0.30001088:
version "1.0.30001238"
resolved "https://registry.nlark.com/caniuse-lite/download/caniuse-lite-1.0.30001238.tgz?cache=0&sync_timestamp=1623999794080&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fcaniuse-lite%2Fdownload%2Fcaniuse-lite-1.0.30001238.tgz#e6a8b45455c5de601718736d0242feef0ecdda15"
integrity sha1-5qi0VFXF3mAXGHNtAkL+7w7N2hU=
version "1.0.30001283"
resolved "https://registry.npmmirror.com/caniuse-lite/download/caniuse-lite-1.0.30001283.tgz#8573685bdae4d733ef18f78d44ba0ca5fe9e896b"
integrity sha512-9RoKo841j1GQFSJz/nCXOj0sD7tHBtlowjYlrqIUS812x9/emfBLBt6IyMz1zIaYc/eRL8Cs6HPUVi2Hzq4sIg==
capture-exit@^2.0.0:
version "2.0.0"