Skip to content

Commit e8923e0

Browse files
committedMar 31, 2023
style: optimize output logs.
1 parent ef46425 commit e8923e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎packages/core/src/compile.ts

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export async function compile(options: CompileOptions = {}) {
2424
' \x1b[35;1m$\x1b[0m\x1b[36;1m tsbb\x1b[0m build\x1b[33;1m "src/**/*.ts"\x1b[0m --useBabel',
2525
' \x1b[35;1m$\x1b[0m\x1b[36;1m tsbb\x1b[0m build\x1b[33;1m src/index.jsx\x1b[0m --useBabel',
2626
' \x1b[35;1m$\x1b[0m\x1b[36;1m tsbb\x1b[0m build\x1b[33;1m src/index.jsx\x1b[0m \x1b[33;1m src/main.jsx\x1b[0m --useBabel\n',
27+
` \x1b[31;1m$ tsbb ${process.argv.slice(2).join(' ')}\x1b[0m\n\n`,
2728
];
2829
if (!options.entry?.length) {
2930
throw new Error(err.join('\n'));

0 commit comments

Comments
 (0)
Please sign in to comment.