diff --git a/addons/storysource/src/loader/parsers/parser-js.js b/addons/storysource/src/loader/parsers/parser-js.js index cb4b5f243bed..8046a5ebf54d 100644 --- a/addons/storysource/src/loader/parsers/parser-js.js +++ b/addons/storysource/src/loader/parsers/parser-js.js @@ -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 {