We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bc76eb commit 2465f11Copy full SHA for 2465f11
.github/workflows/ci.yml
@@ -91,3 +91,6 @@ jobs:
91
92
- name: Lint
93
run: pnpm run lint
94
+
95
+ - name: Check formatting
96
+ run: pnpm prettier --check .
packages/plugin-vue/src/main.ts
@@ -269,9 +269,7 @@ async function genScriptCode(
269
scriptCode = compiler.rewriteDefault(
270
script.content,
271
'_sfc_main',
272
- script.lang === 'ts'
273
- ? ['typescript']
274
- : undefined
+ script.lang === 'ts' ? ['typescript'] : undefined
275
)
276
map = script.map
277
} else {
0 commit comments