We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d94bd97 commit 26f382aCopy full SHA for 26f382a
3 files changed
.changeset/thirty-bats-help.md
@@ -0,0 +1,5 @@
1
+---
2
+'microbundle': patch
3
4
+
5
+Completion message shows pkg's actual name, rather than safe name
src/index.js
@@ -133,8 +133,8 @@ export default async function microbundle(inputOptions) {
133
const targetDir = relative(cwd, dirname(options.output)) || '.';
134
const sourceExist = options.input.length > 0;
135
const banner = sourceExist
136
- ? blue(`Build "${options.name}" to ${targetDir}:`)
137
- : red(`Error: No entry module found for "${options.name}"`);
+ ? blue(`Build "${options.pkg.name}" to ${targetDir}:`)
+ : red(`Error: No entry module found for "${options.pkg.name}"`);
138
return {
139
output: `${banner}\n ${out.join('\n ')}`,
140
};
0 commit comments