Skip to content

Commit 9f5489f

Browse files
committed
refactor(plugin-vue): respect customElment: false
1 parent 8eaa90a commit 9f5489f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/plugin-vue/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin {
7878
)
7979

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

8585
return {

0 commit comments

Comments
 (0)