Skip to content

Commit

Permalink
【fix】优化打包
Browse files Browse the repository at this point in the history
  • Loading branch information
songyumeng committed Jun 22, 2020
1 parent 4fbdd4c commit eb43450
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions config/webpack.prod.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,17 +145,17 @@ function getProdConfig(isMinify) {
warnings: false
},
output: {
comments: false
comments: true
}
},
extractComments: {
banner: () => {
return `
*
* @supermap/react-iclient.(http://iclient.supermap.io)
* ${pkg.name}.(${pkg.homepage})
* Copyright© 2000 - 2020 SuperMap Software Co.Ltd
* license: Apache-2.0
* version: v10.1.0-alpha
* license: ${pkg.license}
* version: v${pkg.version}
*
`;
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@supermap/react-iclient",
"version": "10.1.0-alpha",
"description": "SuperMap iClient for React.js",
"homepage": "http://iclient.supermap.io",
"homepage": "https://iclient.supermap.io",
"scripts": {
"start": "node scripts/start.js",
"build": "node scripts/build.js",
Expand Down

0 comments on commit eb43450

Please sign in to comment.