Skip to content

Commit

Permalink
Merge pull request #46 from mpvue/develop
Browse files Browse the repository at this point in the history
fix: #37 产生的JS语法问题
  • Loading branch information
anchengjian authored Sep 18, 2018
2 parents 965405f + b5df354 commit 0bf0604
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 0bf0604

Please sign in to comment.