@vitejs/plugin-vue
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -23,5 +23,5 @@ import { ViteDevServer, Plugin } from 'vite'; | ||
isProduction?: boolean; | ||
script?: Partial<SFCScriptCompileOptions>; | ||
template?: Partial<SFCTemplateCompileOptions>; | ||
style?: Partial<SFCStyleCompileOptions>; | ||
script?: Partial<Pick<SFCScriptCompileOptions, 'babelParserPlugins'>>; | ||
template?: Partial<Pick<SFCTemplateCompileOptions, 'compiler' | 'compilerOptions' | 'preprocessOptions' | 'preprocessCustomRequire' | 'transformAssetUrls'>>; | ||
style?: Partial<Pick<SFCStyleCompileOptions, 'trim'>>; | ||
/** | ||
@@ -28,0 +28,0 @@ * Transform Vue SFCs into custom elements. |
{ | ||
"name": "@vitejs/plugin-vue", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"license": "MIT", | ||
@@ -26,3 +26,3 @@ "author": "Evan You", | ||
"engines": { | ||
"node": ">=14.18.0" | ||
"node": "^14.18.0 || >=16.0.0" | ||
}, | ||
@@ -29,0 +29,0 @@ "repository": { |
@@ -48,5 +48,14 @@ # @vitejs/plugin-vue [![npm](https://img.shields.io/npm/v/@vitejs/plugin-vue.svg)](https://npmjs.com/package/@vitejs/plugin-vue) | ||
// options to pass on to vue/compiler-sfc | ||
script?: Partial<SFCScriptCompileOptions> | ||
template?: Partial<SFCTemplateCompileOptions> | ||
style?: Partial<SFCStyleCompileOptions> | ||
script?: Partial<Pick<SFCScriptCompileOptions, 'babelParserPlugins'>> | ||
template?: Partial< | ||
Pick< | ||
SFCTemplateCompileOptions, | ||
| 'compiler' | ||
| 'compilerOptions' | ||
| 'preprocessOptions' | ||
| 'preprocessCustomRequire' | ||
| 'transformAssetUrls' | ||
> | ||
> | ||
style?: Partial<Pick<SFCStyleCompileOptions, 'trim'>> | ||
} | ||
@@ -53,0 +62,0 @@ ``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
157608
172