You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow the following javascript error to hide the stack by hideStack, and when hideStack = true, the stack info will be placed in details, no matter what hideStack is, the stack info will always be placed in stack.
Throw error in js loader
Call this.emitError() or this.emitWarning() in js loader
Push error to compilation.errors or compilation.warnings
Rust error has no stack, so most errors throw by rust are different with webpack
Align chunk related fields on StatsError
Some errors are thrown during creating chunk asset, so they have chunkId, chunkName, chunkEntry, chunkInitial on StatsError
Currently, only code splitting warnings(dependOn related) and css warnings(confilicting) has chunk info.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
release: featurerelease: feature related release(mr only)teamThe issue/pr is created by the member of Rspack.
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
related #4339
resolve #4326
Align
stack,details,fileonStatsErrorAllow the following javascript error to hide the stack by
hideStack, and whenhideStack = true, the stack info will be placed indetails, no matter whathideStackis, the stack info will always be placed instack.this.emitError()orthis.emitWarning()in js loadercompilation.errorsorcompilation.warningsAlign chunk related fields on
StatsErrorSome errors are thrown during creating chunk asset, so they have
chunkId,chunkName,chunkEntry,chunkInitialonStatsErrorChecklist