Closed DetachHead closed 1 year ago
LGTM!
I just want to point out that --enable-source-maps
doesn't work with vm.runInThisContext
(and I assume other ways of running script with vm
). So tools like Jest and Vite still need to use the package.
I just want to point out that
--enable-source-maps
doesn't work withvm.runInThisContext
(and I assume other ways of running script withvm
). So tools like Jest and Vite still need to use the package.
@DetachHead could you add a note about this as well please? 🙏
@sheremet-va @LinusU in my experience source maps have worked in both jest and vite without needing to use this package
This is because jest already includes it. I meant that this package is required for lib developers, not necessarily users.
i feel like this information is a bit too low level for most users. i think the vast majority of people who stumble upon this package aren't developers of jest or vite, and wouldn't have a clue what vm
and vm.runInThisContext
is.
i will include it if you guys think it's necessary, however i think installation instructions should be as simple as possible
how's that?
i feel like this information is a bit too low level for most users. i think the vast majority of people who stumble upon this package aren't developers of jest or vite, and wouldn't have a clue what
vm
andvm.runInThisContext
is.i will include it if you guys think it's necessary, however i think installation instructions should be as simple as possible
Sorry, merged before I read this. Yeah, might have been unnecessary but I think with the parenthesis it turned out nice 👍
fixes #321