Skip to content

Commit

Permalink
wip: fix template pre-processor handling
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 17, 2020
1 parent 2a61dd7 commit d1def7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/plugin-vue/src/template.ts
Expand Up @@ -129,6 +129,8 @@ export function getTemplateCompilerOptions(
ssr: options.ssr,
ssrCssVars: cssVars,
transformAssetUrls,
preprocessLang: block.lang,
preprocessOptions: block.lang && options.template?.preprocessOptions,
compilerOptions: {
...options.template?.compilerOptions,
scopeId: hasScoped ? `data-v-${id}` : undefined,
Expand Down

0 comments on commit d1def7d

Please sign in to comment.