Skip to content

Change build minification to keep function names for better flamegraph/callstacks #1891

Answered by TheSisb
GiantRobots asked this question in Ideas
Discussion options

You must be logged in to vote

Hi @GiantRobots,

Thanks for the suggestion! This is tricky; we want to ship the absolute smallest bundle for developers using Paste, but at the same time understand the debugging concern.

My ideal approach would be to ship two versions: minified (*.min.js) and an unminified (*.js) version of our packages. While I can easily build both versions in our dist folders, I'm not sure yet how developers can toggle between both versions. What do you think?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@GiantRobots
Comment options

@GiantRobots
Comment options

@TheSisb
Comment options

@gloriliale
Comment options

Answer selected by gloriliale
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants