@blocklet/pages-kit-block-studio 0.5.5 → 0.5.7
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/lib/cjs/middlewares/init-resource-router.js +5 -2
- package/lib/cjs/tsconfig.tsbuildinfo +1 -1
- package/lib/cjs/utils/build-lib.js +2 -1
- package/lib/esm/middlewares/init-resource-router.js +5 -2
- package/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/lib/esm/utils/build-lib.js +2 -1
- package/lib/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -16,7 +16,8 @@ export async function buildLib(options) {
|
|
|
16
16
|
const multiMode = process.argv.includes('--multi') || process.env.BLOCK_MULTI === 'true';
|
|
17
17
|
const blocks = allBlocks.filter((name) => !filterModules || filterModules.includes(name || ''));
|
|
18
18
|
if (!blocks.length) {
|
|
19
|
-
console.log(chalk.yellow('No
|
|
19
|
+
console.log(chalk.yellow('No components founds, please check has any component been selected'));
|
|
20
|
+
throw new Error('No components founds, please check has any component been selected');
|
|
20
21
|
return;
|
|
21
22
|
}
|
|
22
23
|
// Clean up the lib directory
|