Skip to content

Commit

Permalink
fix: #37 产生的JS语法问题
Browse files Browse the repository at this point in the history
  • Loading branch information
anchengjian committed Sep 18, 2018
1 parent e8e7080 commit b5df354
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/mp-compiler/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function getBabelrc (src) {
return ''
}

const defaultPart = type => {
function defaultPart (type) {
return {
type,
content: '\n',
Expand All @@ -134,6 +134,7 @@ const defaultPart = type => {
names: [],
mappings: '',
sourcesContent: []
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mpvue-loader",
"version": "1.1.3",
"version": "1.1.4",
"description": "mpvue single-file component loader for Webpack",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit b5df354

Please sign in to comment.