jaredpalmer / tsdx

Zero-config CLI for TypeScript package development

Home Page:https://tsdx.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sourcemaps for extractErrors plugin

swyxio opened this issue · comments

Current Behavior

currently our transformErrorMessages plugin doesnt provide a source map. this breaks sourcemap behavior downstream.

Desired Behavior

sourcemapz

Suggested Solution

add teh sourcemap

Who does this impact? Who is this for?

all extractErrors users

Additional context

clues we can use to implement this

I’m not going to have time to dig into this for a while. Would love for someone to jump in and help.

ya i dont consider this very high priority at the moment and may revisit when this bothers me enough. its just interesting that the fb rollup/babel implementation doesnt do any sourcemap specific code and it Just Works

edit: ah. they turn off sourcemaps??