Skip to content

Commit

Permalink
fix: default parser was removed from prettier (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
pwang2 authored and yyx990803 committed May 28, 2018
1 parent 8a8a95c commit 598224d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compileTemplate.ts
Expand Up @@ -158,7 +158,7 @@ function actuallyCompile (
// mark with stripped (this enables Vue to use correct runtime proxy
// detection)
code += `render._withStripped = true`
code = prettier.format(code, { semi: false })
code = prettier.format(code, { semi: false, parser: 'babylon' })
}

return {
Expand Down

0 comments on commit 598224d

Please sign in to comment.