Skip to content

Commit 4e8bc76

Browse files
committedMay 30, 2019
fix: change parser options
1 parent f971632 commit 4e8bc76

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed
 

‎package-lock.json

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/utils/run-prettier.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default function runPrettier(outputPath: string, source: string, cb?: Fun
1919
try {
2020
prettySource = prettier.format(source, {
2121
filepath: outputPath,
22-
parser: "babel",
22+
parser: "babylon",
2323
singleQuote: true,
2424
tabWidth: 1,
2525
useTabs: true,

0 commit comments

Comments
 (0)
Please sign in to comment.