Skip to content

Commit 737aa42

Browse files
committed
Added rudimentary source map support
The `source-map-support` module enables some rudimentary support for source maps in call stacks, which greatly enhances the developer experience of working with compiled code.
1 parent 0d078f3 commit 737aa42

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

bin/tape

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env node
2+
require('source-map-support/register');
23

34
var path = require('path');
45
var glob = require('glob');

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"inherits": "~2.0.1",
1818
"object-inspect": "~1.0.0",
1919
"resumer": "~0.0.0",
20+
"source-map-support": "~0.4.0",
2021
"string.prototype.trim": "^1.1.1",
2122
"through": "~2.3.4"
2223
},

0 commit comments

Comments
 (0)