@dcloudio/vue-cli-plugin-uni 2.0.2-alpha-3090220231010001 → 2.0.2-alpha-3090320231017001

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/env.js +8 -4
  2. package/package.json +3 -3
package/lib/env.js CHANGED
@@ -609,9 +609,13 @@ if (
609
609
  })
610
610
  wxcomponentDirs.forEach(wxcomponentsDir => {
611
611
  if (fs.existsSync(wxcomponentsDir)) { // 转换 mp-weixin 小程序组件
612
- migrate(wxcomponentsDir, false, {
613
- silent: true // 不输出日志
614
- })
612
+ try {
613
+ migrate(wxcomponentsDir, false, {
614
+ silent: true // 不输出日志
615
+ })
616
+ } catch (err) {
617
+ console.warn(err)
618
+ }
615
619
  }
616
620
  })
617
621
  }
@@ -626,4 +630,4 @@ runByHBuilderX && console.log(uniI18n.__('compiling'))
626
630
 
627
631
  module.exports = {
628
632
  manifestPlatformOptions: platformOptions
629
- }
633
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/vue-cli-plugin-uni",
3
- "version": "2.0.2-alpha-3090220231010001",
3
+ "version": "2.0.2-alpha-3090320231017001",
4
4
  "description": "uni-app plugin for vue-cli 3",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -17,7 +17,7 @@
17
17
  "author": "fxy060608",
18
18
  "license": "Apache-2.0",
19
19
  "dependencies": {
20
- "@dcloudio/uni-stat": "^2.0.2-alpha-3090220231010001",
20
+ "@dcloudio/uni-stat": "^2.0.2-alpha-3090320231017001",
21
21
  "buffer-json": "^2.0.0",
22
22
  "clone-deep": "^4.0.1",
23
23
  "cross-env": "^5.2.0",
@@ -41,5 +41,5 @@
41
41
  "copy-webpack-plugin": ">=5",
42
42
  "postcss": ">=7"
43
43
  },
44
- "gitHead": "e98aa6e0c754ce13bba040086524cd13ff128477"
44
+ "gitHead": "dacf9abbb81ab3a33c1dee5ab2f7fa0b8b3e2cca"
45
45
  }