Skip to content

Commit 79984c7

Browse files
bchenSydcpojer
authored andcommitted
add source map support for better debugging experience (#3738)
* add source map support for better debugging experience * Update index.js * Update package.json
1 parent b69406b commit 79984c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/babel-jest/src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ const createTransformer = (options: any) => {
6767
plugins: (options && options.plugins) || [],
6868
presets: ((options && options.presets) || []).concat([jestPreset]),
6969
retainLines: true,
70+
sourceMaps: 'inline',
7071
});
7172
delete options.cacheDirectory;
7273
delete options.filename;

0 commit comments

Comments
 (0)