zova-cli-set-front 1.2.96 → 1.2.98

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 +4 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -326,8 +326,9 @@ class CliBinBuildRest extends BeanCliBase {
326
326
  plugins: [svgResolverPlugin()],
327
327
  deps: {
328
328
  alwaysBundle: id => {
329
- if (bundleModules.includes(id)) return true;
330
- return false;
329
+ return bundleModules.some(moduleName => {
330
+ return id === moduleName || id.startsWith(`${moduleName}/`);
331
+ });
331
332
  }
332
333
  }
333
334
  // minify: true,
@@ -3189,7 +3190,7 @@ declare module 'zova' {
3189
3190
  }
3190
3191
  ${options.locales ? `\nexport function locale<K extends keyof (typeof locales)[TypeLocaleBase]>(key: K): \`${moduleName}::\${K}\` {
3191
3192
  return \`${moduleName}::\${key}\`;
3192
- }` : ''}
3193
+ }` : ''}
3193
3194
  /** scope: end */
3194
3195
  `;
3195
3196
  return content;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zova-cli-set-front",
3
- "version": "1.2.96",
4
- "gitHead": "93d6ccaace7d8eca543adb7b2dd0b295603eeec0",
3
+ "version": "1.2.98",
4
+ "gitHead": "fac7768bb7db22ff0180dc59d711efba5b853ae7",
5
5
  "description": "zova cli-set-front",
6
6
  "keywords": [
7
7
  "framework",