Skip to content

Commit

Permalink
feat(compiler-babel): Sourcemap generate
Browse files Browse the repository at this point in the history
support sourcemap generating
  • Loading branch information
Genuifx committed Sep 12, 2019
1 parent c2bc977 commit 5074b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wxa-compiler-babel/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class BabelLoader {
}, cmdOptions.cache);

debug('transform succ %s', ret.code);
return Promise.resolve({ret, code: ret.code});
return Promise.resolve({ret, code: ret.code, sourceMap: ret.map});
}
}

Expand Down

0 comments on commit 5074b5e

Please sign in to comment.