Skip to content

more user friendly error on execute module fail #14845

@vankop

Description

@vankop

Feature request

right now webpack puts generated code when executing module in error https://github.com/webpack/webpack/blob/main/lib/javascript/JavascriptModulesPlugin.js#L439

this stack trace will be printed in stdout

What is the expected behavior?

more user friendly output

What is motivation or use case for adding/changing the behavior?

improve DX

How should this be implemented in your opinion?

with current design I suggest to limit stack trace string length in stats

Are you willing to work on this yourself?
yes

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions