From a13bed48c821d0a8d0e73dd40d2b1b3ff6e8608b Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 7 May 2020 13:05:08 -0400 Subject: [PATCH] fix: pass template in map --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 707f73b..720c30b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -136,6 +136,7 @@ export default function PluginVue(userOptions: Partial = {}): Plugin { const result = compileTemplate({ filename: query.filename, source: code, + inMap: query.src ? undefined : block.map, preprocessLang: block.lang, preprocessCustomRequire: options.preprocessCustomRequire, compiler: options.compiler,