Skip to content

Commit 6ff69c2

Browse files
committed
1.打包增加未压缩的css
2.openlayers下interaction模块更名为control 3.fix sonar
1 parent c2774f4 commit 6ff69c2

18 files changed

+742
-37
lines changed

build/deps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ var deps = {
423423
"ChangeTileVersion": {
424424
"name": "多版本缓存切换",
425425
"src": [
426-
"./src/openlayers/interaction/ChangeTileVersion.js"
426+
"./src/openlayers/control/ChangeTileVersion.js"
427427
]
428428
}
429429
}

build/webpack.config.leaflet.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ module.exports = {
4242
use: ExtractTextPlugin.extract({
4343
use: {
4444
loader: 'css-loader',
45-
options: {
46-
minimize: true
47-
}
4845
}
4946
}),
5047
}],
@@ -55,7 +52,7 @@ module.exports = {
5552
},
5653
plugins: [
5754
new webpack.BannerPlugin(banner),
58-
new ExtractTextPlugin('/../dist/' + packageName + ".min.css")
55+
new ExtractTextPlugin('/../dist/' + packageName + ".css")
5956
]
6057

6158
};

build/webpack.config.openlayers.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ module.exports = {
4242
use: ExtractTextPlugin.extract({
4343
use: {
4444
loader: 'css-loader',
45-
options: {
46-
minimize: true
47-
}
4845
}
4946
}),
5047
}],
@@ -55,6 +52,6 @@ module.exports = {
5552
},
5653
plugins: [
5754
new webpack.BannerPlugin(banner),
58-
new ExtractTextPlugin('/../dist/' + packageName + ".min.css")
55+
new ExtractTextPlugin('/../dist/' + packageName + ".css")
5956
]
6057
};

0 commit comments

Comments
 (0)