Skip to content

Easy way to add displayname for react components. #4063

Answered by hyf0
clijiac asked this question in Q&A
Discussion options

You must be logged in to vote

swc minfier also has the keepFnNames option. https://swc.rs/docs/configuration/minification

Rspack use swc as the builtin minfier but it seems rspack doesn't expose this option.

export interface RawMinification {

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@clijiac
Comment options

@clijiac
Comment options

Answer selected by clijiac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants