Skip to content

Commit

Permalink
add source map support for better debugging experience (jestjs#3738)
Browse files Browse the repository at this point in the history
* add source map support for better debugging experience

* Update index.js

* Update package.json
  • Loading branch information
bchenSyd authored and cpojer committed Jun 5, 2017
1 parent bade6b0 commit 3f4ba5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/babel-jest/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const createTransformer = (options: any) => {
plugins: (options && options.plugins) || [],
presets: ((options && options.presets) || []).concat([jestPreset]),
retainLines: true,
sourceMaps: 'inline',
});
delete options.cacheDirectory;
delete options.filename;
Expand Down

0 comments on commit 3f4ba5c

Please sign in to comment.