Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console Logs Merging into a Single Message in Dashboard when Using ESModules #11619

Open
maguroid opened this issue May 21, 2024 · 0 comments
Open

Comments

@maguroid
Copy link

Issue Summary

When specifying type: module in package.json (using ESModules), all standard output in the dashboard is consolidated into a single message. This causes the logs to exceed the size limit quickly, leading to some log entries being truncated. I am using native ESModule as its dependency so I can't migrate the project to common.js.

image

Expected Behavior

Each console.log should be displayed independently in the dashboard to ensure that log entries do not exceed the size limit and are displayed in full. like below.
image

Minimal Reproduction

Here is the reproduction code:
https://github.com/maguroid/vercel-esm-logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant