Skip to content

Commit 4fbdd4c

Browse files
committed
【update】10.1.0-alpha
1 parent aed5ebd commit 4fbdd4c

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

config/webpack.base.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ module.exports = function(isEnvProduction) {
9090
{
9191
oneOf: [
9292
{
93-
test: [/\.bmp$/, /\.gif$/, /\.jpe?g$/, /\.png$/],
93+
test: /\.(png|jpg|jpeg|gif|woff|woff2|svg|eot|ttf)$/,
9494
loader: require.resolve('url-loader'),
9595
options: {
9696
limit: parseInt(process.env.IMAGE_INLINE_SIZE_LIMIT || '200000'),

config/webpack.prod.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,18 @@ function getProdConfig(isMinify) {
148148
comments: false
149149
}
150150
},
151+
extractComments: {
152+
banner: () => {
153+
return `
154+
*
155+
* @supermap/react-iclient.(http://iclient.supermap.io)
156+
* Copyright© 2000 - 2020 SuperMap Software Co.Ltd
157+
* license: Apache-2.0
158+
* version: v10.1.0-alpha
159+
*
160+
`;
161+
},
162+
},
151163
cache: true,
152164
parallel: true,
153165
sourceMap: true,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@supermap/react-iclient",
3-
"version": "10.0.1",
3+
"version": "10.1.0-alpha",
44
"description": "SuperMap iClient for React.js",
55
"homepage": "http://iclient.supermap.io",
66
"scripts": {

src/mapboxgl/package-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@supermap/react-iclient-mapboxgl",
3-
"version": "10.0.1",
3+
"version": "10.1.0-alpha",
44
"description": "SuperMap iClient for React.js",
55
"main": "dist/index",
66
"dependencies": {

0 commit comments

Comments
 (0)