Skip to content

Commit f6a91f0

Browse files
committed
refactor(plugin-vue): respect customElment: false
1 parent 8b232a7 commit f6a91f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: packages/plugin-vue/src/index.ts

+2-2
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)