Skip to content

Commit d55e391

Browse files
grauxyyx990803
authored andcommitted
chore: update prettier + replace deprecated option (#1480)
1 parent 2f7f414 commit d55e391

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy