Skip to content

Commit e4fbe06

Browse files
committed
chore: fix plugin-vue build
1 parent f6a91f0 commit e4fbe06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/plugin-vue/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export interface Options {
4646

4747
/**
4848
* Transform Vue SFCs into custom elements.
49-
* **requires Vue >= 3.2.0 & Vite >= 2.4.4**
49+
* **requires Vue \>= 3.2.0 & Vite \>= 2.4.4**
5050
* - `true`: all `*.vue` imports are converted into custom elements
5151
* - `string | RegExp`: matched files are converted into custom elements
5252
*
@@ -79,7 +79,7 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin {
7979

8080
const customElementFilter =
8181
typeof rawOptions.customElement === 'boolean'
82-
? () => rawOptions.customElement
82+
? () => rawOptions.customElement as boolean
8383
: createFilter(rawOptions.customElement || /\.ce\.vue$/)
8484

8585
return {

0 commit comments

Comments
 (0)