diff --git a/build/webpack.config.base.js b/build/webpack.config.base.js index a5d20b6aa4..f81fffa6a5 100644 --- a/build/webpack.config.base.js +++ b/build/webpack.config.base.js @@ -52,14 +52,12 @@ module.exports = { img: { //图片小于80k采用base64编码 test: /\.(png|jpg|jpeg|gif|woff|woff2|svg|eot|ttf)$/, - use: [ - { - loader: 'url-loader', - options: { - limit: 150000 - } - } - ] + type: 'asset', + parser: { + dataUrlCondition: { + maxSize: 150000 + } + } }, css: { test: /\.css$/, diff --git a/package.json b/package.json index bd3ed40af6..040750cd13 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "clean-css-cli": "^4.3.0", "commander": "^9.0.0", "cross-env": "^7.0.2", - "css-loader": "^5.0.0", + "css-loader": "^6.7.1", "es3ify-loader": "^0.2.0", "eslint": "^7.11.0", "eslint-plugin-import": "^2.22.1", @@ -105,7 +105,6 @@ "shelljs": "^0.8.4", "style-loader": "^2.0.0", "uglify-es": "^3.3.9", - "url-loader": "^4.1.1", "watchify": "^3.11.1", "webpack": "^5.1.3", "webpack-cli": "4.2.0", @@ -128,7 +127,7 @@ "lodash.topairs": "4.3.0", "mapbox-gl": "1.13.2", "mapv": "2.0.62", - "ol": "6.9.0", + "ol": "6.14.1", "pbf": "3.2.1", "proj4": "2.8.0", "promise-polyfill": "8.2.3",
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: