From 18fb7eeb82a7ddb83f1eac07b523744e4ce7b965 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Thu, 28 May 2020 02:37:51 +0900 Subject: [PATCH] fix: cannot load custom block --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 60761b0..db67166 100644 --- a/src/index.ts +++ b/src/index.ts @@ -118,7 +118,7 @@ export default function PluginVue(userOptions: Partial = {}): Plugin { ? descriptor.script! : query.type === 'style' ? descriptor.styles[query.index] - : query.type === 'custom' + : filterCustomBlock(query.type) ? descriptor.customBlocks[query.index] : null