We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6a91f0 commit e4fbe06Copy full SHA for e4fbe06
packages/plugin-vue/src/index.ts
@@ -46,7 +46,7 @@ export interface Options {
46
47
/**
48
* Transform Vue SFCs into custom elements.
49
- * **requires Vue >= 3.2.0 & Vite >= 2.4.4**
+ * **requires Vue \>= 3.2.0 & Vite \>= 2.4.4**
50
* - `true`: all `*.vue` imports are converted into custom elements
51
* - `string | RegExp`: matched files are converted into custom elements
52
*
@@ -79,7 +79,7 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin {
79
80
const customElementFilter =
81
typeof rawOptions.customElement === 'boolean'
82
- ? () => rawOptions.customElement
+ ? () => rawOptions.customElement as boolean
83
: createFilter(rawOptions.customElement || /\.ce\.vue$/)
84
85
return {
0 commit comments