Skip to content

Commit 1dfc70e

Browse files
committed
fix: fix bub in loader
1 parent 22f4bd6 commit 1dfc70e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vuefront-nuxt",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"description": "vuefront-nuxt",
55
"repository": {
66
"type": "git",

src/webpack/matcher/tag.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const _ = require('lodash')
2-
const getImport = (name) => {
2+
const getImport = (name, type, config, tag) => {
33
let comImport = false
44

55

@@ -77,7 +77,7 @@ module.exports = function match (_, config, { kebabTag, camelTag: tag }) {
7777
const type = m[1]
7878
const name = m[2]
7979

80-
let comImport = getImport(name)
80+
let comImport = getImport(name, type, config, tag)
8181

8282
if(type === 'O' && name === 'virtual') {
8383
comImport = ''

0 commit comments

Comments
 (0)