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

Commit

Permalink
feat: determine preprocessLang at template block (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjk authored Feb 27, 2021
1 parent 6a481f2 commit c206f88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export function compileSFCTemplate(
isFunctional: !!block.attrs.functional,
optimizeSSR: false,
prettify: false,
preprocessLang: block.lang,
...vueTemplateOptions,
})

Expand Down

0 comments on commit c206f88

Please sign in to comment.