evanw / evanw/node-source-map-support
How to use with vm.runInContext ()?
Open
- Dominant language
- JavaScript
- Stars
- 2.2k
- Forks
- 223
- PR merge metrics
- No merged PRs in 30d
Description
```typescript
import {transpile} from 'typescript';
const jsCode = transpile(, {inlineSourceMap: true}, );
const sandbox = {exports: {}};
runInContext(jsCode , createContext(sandbox), {filename: });
```
How to use with vm.runInContext ()?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.