diff --git a/lib/mp-compiler/util.js b/lib/mp-compiler/util.js index 27726f5..80686d0 100644 --- a/lib/mp-compiler/util.js +++ b/lib/mp-compiler/util.js @@ -121,7 +121,7 @@ function getBabelrc (src) { return '' } -const defaultPart = type => { +function defaultPart (type) { return { type, content: '\n', @@ -134,6 +134,7 @@ const defaultPart = type => { names: [], mappings: '', sourcesContent: [] + } } } diff --git a/package.json b/package.json index bb1c8ad..7445acd 100644 --- a/package.json +++ b/package.json @@ -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": {