Skip to content

Commit

Permalink
FIX babylon -> babel rename
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Jan 24, 2019
1 parent 04c53eb commit 8b17966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/storysource/src/loader/parsers/parser-js.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import parseJs from 'prettier/parser-babylon';

function parse(source) {
return parseJs.parsers.babylon.parse(source);
return parseJs.parsers.babel.parse(source);
}

export default {
Expand Down

0 comments on commit 8b17966

Please sign in to comment.