rollup-plugin-vue
Advanced tools
Comparing version 6.0.0-beta.9 to 6.0.0-beta.10
@@ -10,2 +10,3 @@ import { SFCTemplateCompileOptions, SFCAsyncStyleCompileOptions } from '@vue/compiler-sfc'; | ||
preprocessStyles?: boolean; | ||
templatePreprocessOptions?: Record<string, SFCTemplateCompileOptions['preprocessOptions']>; | ||
compiler?: SFCTemplateCompileOptions['compiler']; | ||
@@ -12,0 +13,0 @@ compilerOptions?: SFCTemplateCompileOptions['compilerOptions']; |
@@ -99,2 +99,6 @@ "use strict"; | ||
const block = descriptor.template; | ||
const preprocessLang = block.lang; | ||
const preprocessOptions = preprocessLang && | ||
options.templatePreprocessOptions && | ||
options.templatePreprocessOptions[preprocessLang]; | ||
const result = compiler_sfc_1.compileTemplate({ | ||
@@ -104,3 +108,4 @@ filename: query.filename, | ||
inMap: query.src ? undefined : block.map, | ||
preprocessLang: block.lang, | ||
preprocessLang, | ||
preprocessOptions, | ||
preprocessCustomRequire: options.preprocessCustomRequire, | ||
@@ -107,0 +112,0 @@ compiler: options.compiler, |
{ | ||
"name": "rollup-plugin-vue", | ||
"version": "6.0.0-beta.9", | ||
"version": "6.0.0-beta.10", | ||
"license": "MIT", | ||
@@ -31,3 +31,3 @@ "main": "dist/index.js", | ||
"@types/node": "^13.13.2", | ||
"@vue/compiler-sfc": "^3.0.0-beta.22", | ||
"@vue/compiler-sfc": "^3.0.0-rc.5", | ||
"husky": "^4.2.0", | ||
@@ -34,0 +34,0 @@ "jest": "^26.0.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27186
585