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.
- package/dist/index.js +4 -3
- 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
|
-
|
|
330
|
-
|
|
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