@dcloudio/uni-cli-shared 3.0.0-alpha-3080220230428001 → 3.0.0-alpha-3080220230428002

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.
package/dist/hbx/alias.js CHANGED
@@ -17,15 +17,15 @@ const hbxPlugins = {
17
17
  };
18
18
  function initModuleAlias() {
19
19
  const compilerSfcPath = require.resolve('@vue/compiler-sfc');
20
- // const serverRendererPath = require.resolve('@vue/server-renderer')
20
+ const serverRendererPath = require.resolve('@vue/server-renderer');
21
21
  module_alias_1.default.addAliases({
22
22
  '@vue/shared': require.resolve('@vue/shared'),
23
23
  '@vue/shared/dist/shared.esm-bundler.js': require.resolve('@vue/shared/dist/shared.esm-bundler.js'),
24
24
  '@vue/compiler-dom': require.resolve('@vue/compiler-dom'),
25
25
  '@vue/compiler-sfc': compilerSfcPath,
26
- // '@vue/server-renderer': serverRendererPath,
26
+ '@vue/server-renderer': serverRendererPath,
27
27
  'vue/compiler-sfc': compilerSfcPath,
28
- // 'vue/server-renderer': serverRendererPath,
28
+ 'vue/server-renderer': serverRendererPath,
29
29
  });
30
30
  if (process.env.VITEST) {
31
31
  module_alias_1.default.addAliases({
@@ -34,7 +34,7 @@ function defineNVuePageCode(pagesJson) {
34
34
  }
35
35
  const pagePathWithExtname = (0, utils_1.normalizePagePath)(page.path, 'app');
36
36
  if (pagePathWithExtname) {
37
- importNVuePagesCode.push(`import('./${pagePathWithExtname}').then(()=>{})`);
37
+ importNVuePagesCode.push(`import('./${pagePathWithExtname}').then((res)=>{res.length})`);
38
38
  }
39
39
  });
40
40
  return importNVuePagesCode.join('\n');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-cli-shared",
3
- "version": "3.0.0-alpha-3080220230428001",
3
+ "version": "3.0.0-alpha-3080220230428002",
4
4
  "description": "@dcloudio/uni-cli-shared",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@ampproject/remapping": "^2.1.2",
25
- "@babel/core": "^7.21.0",
25
+ "@babel/core": "^7.21.3",
26
26
  "@babel/parser": "^7.16.4",
27
27
  "@babel/types": "^7.20.7",
28
- "@dcloudio/uni-i18n": "3.0.0-alpha-3080220230428001",
29
- "@dcloudio/uni-shared": "3.0.0-alpha-3080220230428001",
28
+ "@dcloudio/uni-i18n": "3.0.0-alpha-3080220230428002",
29
+ "@dcloudio/uni-shared": "3.0.0-alpha-3080220230428002",
30
30
  "@intlify/core-base": "9.1.9",
31
31
  "@intlify/shared": "9.1.9",
32
32
  "@intlify/vue-devtools": "9.1.9",
@@ -64,7 +64,7 @@
64
64
  },
65
65
  "gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
66
66
  "devDependencies": {
67
- "@dcloudio/uni-uts-v1": "3.0.0-alpha-3080220230428001",
67
+ "@dcloudio/uni-uts-v1": "3.0.0-alpha-3080220230428002",
68
68
  "@types/babel__core": "^7.1.19",
69
69
  "@types/debug": "^4.1.7",
70
70
  "@types/estree": "^0.0.51",