zova-cli-set-front 1.2.105 → 1.2.106

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/dist/index.js +2 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -2610,7 +2610,7 @@ async function generateBeanGenerals(globFiles, sceneName, sceneMeta, moduleName,
2610
2610
  const beanFullName = `${moduleName}.${sceneName}.${beanName}`;
2611
2611
  if (isIgnore) continue;
2612
2612
  if (!sceneMeta.scopeResource) {
2613
- contentImports.push(`import { ${className} } from '${fileNameJSRelative}';`);
2613
+ contentImports.push(`import type { ${className} } from '${fileNameJSRelative}';`);
2614
2614
  }
2615
2615
  contentRecords.push(`'${beanFullName}': ${className};`);
2616
2616
  }
@@ -3211,7 +3211,7 @@ async function generateScopeResources(globFiles, sceneName, _sceneMeta, _moduleN
3211
3211
  isIgnore
3212
3212
  } = globFile;
3213
3213
  if (isIgnore) continue;
3214
- contentImports.push(`import { ${className} } from '${fileNameJSRelative}';`);
3214
+ contentImports.push(`import type { ${className} } from '${fileNameJSRelative}';`);
3215
3215
  contentRecords.push(`'${beanName}': ${className};`);
3216
3216
  }
3217
3217
  if (contentImports.length === 0) return '';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zova-cli-set-front",
3
- "version": "1.2.105",
4
- "gitHead": "8ecb407bf2c0bb2e28592206ca1a39f37ab50902",
3
+ "version": "1.2.106",
4
+ "gitHead": "b77e76c1a25df7b0f95d7e675c2eda7dc4c7299e",
5
5
  "description": "zova cli-set-front",
6
6
  "keywords": [
7
7
  "framework",