Skip to content

Commit 14655e6

Browse files
committed
better status message
1 parent 9005c26 commit 14655e6

File tree

1 file changed

+2
-1
lines changed
  • packages/repl/src/lib/workers/bundler

1 file changed

+2
-1
lines changed

packages/repl/src/lib/workers/bundler/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,8 @@ async function get_bundle(
270270
transform(code, id) {
271271
if (uid !== current_id) throw ABORT;
272272

273-
self.postMessage({ type: 'status', message: `bundling ${id}` });
273+
const message = `bundling ${id.replace(VIRTUAL + '/', '').replace(NPM + '/', '')}`;
274+
self.postMessage({ type: 'status', message });
274275

275276
if (!/\.(svelte|js)$/.test(id)) return null;
276277

0 commit comments

Comments
 (0)