Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Commit

Permalink
fix: pass template in map
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed May 7, 2020
1 parent 08bc64a commit a13bed4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export default function PluginVue(userOptions: Partial<Options> = {}): Plugin {
const result = compileTemplate({
filename: query.filename,
source: code,
inMap: query.src ? undefined : block.map,
preprocessLang: block.lang,
preprocessCustomRequire: options.preprocessCustomRequire,
compiler: options.compiler,
Expand Down

0 comments on commit a13bed4

Please sign in to comment.