Skip to content

Commit 2fc982b

Browse files
committed
Merge branch 'v14' of github.com:vuejs/vue-loader into v14
2 parents 6430bc0 + d55e391 commit 2fc982b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/template-compiler/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ module.exports = function (html) {
7070

7171
// prettify render fn
7272
if (!isProduction) {
73-
code = prettier.format(code, { semi: false, parser: 'babylon' })
73+
code = prettier.format(code, { semi: false, parser: 'babel' })
7474
}
7575

7676
// mark with stripped (this enables Vue to use correct runtime proxy detection)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"postcss": "^6.0.8",
5151
"postcss-load-config": "^1.1.0",
5252
"postcss-selector-parser": "^2.0.0",
53-
"prettier": "^1.7.0",
53+
"prettier": "^1.16.0",
5454
"resolve": "^1.4.0",
5555
"source-map": "^0.6.1",
5656
"vue-hot-reload-api": "^2.2.0",

0 commit comments

Comments
 (0)