Skip to content

Commit c97f5ea

Browse files
committedOct 8, 2019
package
1 parent aa722fd commit c97f5ea

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "querystring2json",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "querystring to json & json to querystring ",
55
"repository": {
66
"type": "git",

‎webpack.config.js

+6-4
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ module.exports = {
99
globalObject: "this", //需要配置为 "this", 默认为 "window" 兼容window环境和node环境
1010
libraryTarget: 'umd'
1111
},
12-
module:{
13-
rules: [
14-
{ test: /\.js$/, use: 'babel-loader',exclude: [/node_modules/,/test/,/example/,/lib/], },
15-
]
12+
module: {
13+
rules: [{
14+
test: /\.js$/,
15+
use: 'babel-loader',
16+
exclude: [/node_modules/, /test/, /example/, /lib/]
17+
}]
1618
}
1719
};

0 commit comments

Comments
 (0)
Please sign in to comment.