Skip to content

Commit

Permalink
fix parser issue
Browse files Browse the repository at this point in the history
  • Loading branch information
airyland committed Jul 3, 2017
1 parent 98cd065 commit 2fb95d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vux-loader",
"version": "1.0.69",
"version": "1.0.70",
"description": "extended loader for vue-loader",
"main": "src/index.js",
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions src/libs/import-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ function parse(source, fn, moduleName) {
replaceList.push([match1, replaceString])
}
})
source = removeCommentLine(source)
replaceList.forEach(function (one) {
source = source.replace(one[0], one[1])
})
Expand Down

0 comments on commit 2fb95d5

Please sign in to comment.