Skip to content

Commit 3c05f97

Browse files
committed
【update】update devDependencies review by xiongjj
1 parent 1848db9 commit 3c05f97

File tree

3 files changed

+25
-25
lines changed

3 files changed

+25
-25
lines changed

build/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if (product) {
2121
}
2222
config.mode = 'development';
2323
config.entry = entry;
24-
config.devtool = 'cheap-module-eval-source-map';
24+
config.devtool = 'inline-cheap-module-source-map';
2525

2626
const compiler = webpack(config);
2727
const instance = webpackDevMiddleware(compiler, {

build/webpack.config.base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525
//是否启用压缩
2626
optimization: {
2727
minimize: false,
28-
noEmitOnErrors: true
28+
emitOnErrors: false
2929
},
3030
//不显示打包文件大小相关警告
3131
performance: {

package.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@
5858
"author": "SuperMap_FE",
5959
"license": "Apache-2.0",
6060
"devDependencies": {
61-
"@babel/core": "^7.7.4",
62-
"@babel/plugin-transform-runtime": "^7.8.3",
63-
"@babel/preset-env": "^7.7.4",
61+
"@babel/core": "^7.12.3",
62+
"@babel/plugin-transform-runtime": "^7.12.1",
63+
"@babel/preset-env": "^7.12.1",
6464
"@geoman-io/leaflet-geoman-free": "2.7.0",
65-
"babel-eslint": "^10.0.3",
66-
"babel-loader": "^8.0.6",
65+
"babel-eslint": "^10.1.0",
66+
"babel-loader": "^8.1.0",
6767
"babel-plugin-istanbul": "^6.0.0",
6868
"babelify": "^10.0.0",
69-
"browserify": "^16.5.0",
69+
"browserify": "^17.0.0",
7070
"browserify-css": "^0.15.0",
7171
"browserify-imgify": "^0.0.1",
7272
"chromedriver": "86.0.0",
@@ -78,38 +78,38 @@
7878
"eslint": "^7.11.0",
7979
"eslint-plugin-import": "^2.22.1",
8080
"eslint-webpack-plugin": "^2.1.0",
81-
"express": "^4.16.3",
82-
"get-pixels": "^3.3.0",
83-
"image-size": "^0.9.1",
81+
"express": "^4.17.1",
82+
"get-pixels": "^3.3.2",
83+
"image-size": "^0.9.2",
8484
"istanbul": "^0.4.5",
85-
"jasmine-core": "^3.5.0",
86-
"jsdoc": "^3.6.3",
87-
"karma": "^4.4.1",
88-
"karma-browserify": "^6.1.0",
85+
"jasmine-core": "^3.6.0",
86+
"jsdoc": "^3.6.6",
87+
"karma": "^5.2.3",
88+
"karma-browserify": "^7.0.0",
8989
"karma-chrome-launcher": "^3.1.0",
9090
"karma-cli": "^2.0.0",
91-
"karma-coverage": "^2.0.1",
92-
"karma-jasmine": "^3.3.1",
91+
"karma-coverage": "^2.0.3",
92+
"karma-jasmine": "^4.0.1",
9393
"karma-sonarqube-unit-reporter": "0.0.21",
9494
"karma-teamcity-reporter": "^1.1.0",
95-
"mini-css-extract-plugin": "^1.0.0",
96-
"mock-socket": "^9.0.2",
97-
"nightwatch": "^1.3.1",
98-
"open": "^7.0.0",
95+
"mini-css-extract-plugin": "^1.1.0",
96+
"mock-socket": "^9.0.3",
97+
"nightwatch": "^1.4.3",
98+
"open": "^7.3.0",
9999
"pngjs": "^5.0.0",
100100
"pre-commit": "^1.2.2",
101101
"request": "^2.88.0",
102102
"selenium-server": "3.141.59",
103103
"serve-index": "^1.9.1",
104-
"shelljs": "^0.8.3",
104+
"shelljs": "^0.8.4",
105105
"style-loader": "^2.0.0",
106106
"uglify-es": "^3.3.9",
107107
"url-loader": "^4.1.1",
108108
"watchify": "^3.11.1",
109-
"webpack": "^4.41.2",
110-
"webpack-cli": "^4.0.0",
109+
"webpack": "^5.1.3",
110+
"webpack-cli": "^4.1.0",
111111
"webpack-dev-middleware": "^3.7.2",
112-
"webpack-node-externals": "^1.7.2"
112+
"webpack-node-externals": "^2.5.2"
113113
},
114114
"dependencies": {
115115
"@mapbox/vector-tile": "1.3.1",

0 commit comments

Comments
 (0)