Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Commit

Permalink
feat: default compilerOptions: whitespace: 'condense' (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
shen-zhao authored May 7, 2021
1 parent 175beb3 commit ab62cce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ export function compileSFCTemplate(
prettify: false,
preprocessLang: block.lang,
...vueTemplateOptions,
compilerOptions: {
whitespace: 'condense',
...(vueTemplateOptions.compilerOptions || {})
}
})

if (tips) {
Expand Down

0 comments on commit ab62cce

Please sign in to comment.