Skip to content

Commit

Permalink
feat: remove correct-source-map.js (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
whxaxes authored and atian25 committed Sep 11, 2018
1 parent 7e00dc1 commit 8b62742
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 59 deletions.
3 changes: 0 additions & 3 deletions lib/cmd/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ class TestCommand extends Command {
if (testArgv.typescript) {
// remove ts-node in context getter on top.
requireArr.push(require.resolve('espower-typescript/guess'));

// use to correct sourceMap mapping
requireArr.push(path.resolve(__dirname, '../correct-source-map'));
}

testArgv.require = requireArr;
Expand Down
55 changes: 0 additions & 55 deletions lib/correct-source-map.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"debug": "^3.1.0",
"detect-port": "^1.2.3",
"egg-utils": "^2.4.0",
"espower-typescript": "^9.0.0",
"espower-typescript": "^9.0.1",
"globby": "^8.0.1",
"inspector-proxy": "^1.2.1",
"intelli-espower-loader": "^1.0.1",
Expand Down

0 comments on commit 8b62742

Please sign in to comment.