Skip to content

How to use source map of esbuild with SEA #97

Answered by joyeecheung
louis222220 asked this question in Q&A
Discussion options

You must be logged in to vote

There is currently no VFS/FS hooks support in Node.js in general. Effectively the SEA supports a main script and a list of assets, and it's up to the user how they can map the bundled assets and redirect fs calls (internal or user-land) to it (currently, they can only monkey-patch fs, until proper fs hooks are agreed upon and implemented by someone : #43). Internally, not being able to locate the file inside the SEA (as there's no VFS support) would just lead to missing source maps.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@louis222220
Comment options

Answer selected by louis222220
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