Skip to content

Commit

Permalink
Allow to define the "compilerOptions" of the VueTransformer (#8031)
Browse files Browse the repository at this point in the history
  • Loading branch information
abellion committed May 4, 2022
1 parent 851480d commit 019b7cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/transformers/vue/src/VueTransformer.js
Expand Up @@ -43,6 +43,7 @@ export default (new Transformer({
return {
customBlocks: contents.customBlocks || {},
filePath: conf && conf.filePath,
compilerOptions: contents.compilerOptions || {},
};
},
canReuseAST({ast}) {
Expand Down Expand Up @@ -230,6 +231,7 @@ async function processPipeline({
scoped: styles.some(style => style.scoped),
isFunctional,
id,
compilerOptions: config.compilerOptions,
});
if (templateComp.errors.length) {
throw new ThrowableDiagnostic({
Expand Down

0 comments on commit 019b7cb

Please sign in to comment.