Skip to content

Commit 4e8bc76

Browse files
committed
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

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/utils/run-prettier.ts

Lines changed: 1 addition & 1 deletion
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)