@shuvi/toolpack 1.0.60 → 1.0.62

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.
@@ -60,7 +60,8 @@ export default _;`.trim();
60
60
  }
61
61
  if (!hasExports) {
62
62
  // 只有 __esModule 的全量导出
63
- if (exports.includes('__esModule') && exports.length > 1) {
63
+ if (exports.includes('__esModule') &&
64
+ exports.length > 1) {
64
65
  ret.push(`import _ from '${libraryPath}';`);
65
66
  ret.push(`export default _;`);
66
67
  ret.push(`export * from '${libraryPath}';`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shuvi/toolpack",
3
- "version": "1.0.60",
3
+ "version": "1.0.62",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/shuvijs/shuvi.git",
@@ -20,7 +20,7 @@
20
20
  "node": ">= 16.0.0"
21
21
  },
22
22
  "dependencies": {
23
- "@shuvi/compiler": "1.0.60",
23
+ "@shuvi/compiler": "1.0.62",
24
24
  "@babel/core": "7.12.10",
25
25
  "@babel/plugin-proposal-class-properties": "7.12.1",
26
26
  "@babel/plugin-proposal-nullish-coalescing-operator": "7.10.1",
@@ -35,8 +35,8 @@
35
35
  "@babel/preset-typescript": "7.12.7",
36
36
  "@babel/runtime": "7.12.5",
37
37
  "lightningcss": "1.19.0",
38
- "@shuvi/shared": "1.0.60",
39
- "@shuvi/utils": "1.0.60",
38
+ "@shuvi/shared": "1.0.62",
39
+ "@shuvi/utils": "1.0.62",
40
40
  "babel-loader": "8.2.2",
41
41
  "babel-plugin-syntax-jsx": "6.18.0",
42
42
  "babel-plugin-transform-define": "2.0.0",