Skip to content

Commit dabaa21

Browse files
committed
update autoprefixer 10.x
1 parent d4dd4de commit dabaa21

File tree

4 files changed

+31
-29
lines changed

4 files changed

+31
-29
lines changed

Diff for: package.json

+28-27
Original file line numberDiff line numberDiff line change
@@ -24,61 +24,62 @@
2424
},
2525
"dependencies": {
2626
"@rematch/core": "^1.4.0",
27-
"antd": "^4.6.6",
27+
"antd": "^4.7.0",
2828
"axios": "^0.20.0",
2929
"core-js": "^3.6.5",
3030
"history": "^4.10.1",
3131
"lodash": "^4.17.20",
32-
"react": "^16.13.1",
33-
"react-dom": "^16.13.1",
32+
"react": "^16.14.0",
33+
"react-dom": "^16.14.0",
3434
"react-loadable": "^5.5.0",
3535
"react-redux": "^7.2.1",
3636
"react-router-dom": "^5.2.0",
3737
"redux": "^4.0.5"
3838
},
3939
"devDependencies": {
40-
"@babel/core": "^7.11.6",
41-
"@babel/plugin-proposal-class-properties": "^7.10.4",
42-
"@babel/plugin-proposal-decorators": "^7.10.5",
43-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
44-
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
45-
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
40+
"@babel/core": "7.12.3",
41+
"@babel/plugin-proposal-class-properties": "^7.12.1",
42+
"@babel/plugin-proposal-decorators": "^7.12.1",
43+
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
44+
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
45+
"@babel/plugin-proposal-optional-chaining": "^7.12.1",
4646
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
47-
"@babel/plugin-transform-runtime": "^7.11.5",
48-
"@babel/preset-env": "^7.11.5",
49-
"@babel/preset-react": "^7.10.4",
50-
"@babel/runtime": "^7.11.2",
47+
"@babel/plugin-transform-runtime": "^7.12.1",
48+
"@babel/preset-env": "^7.12.1",
49+
"@babel/preset-react": "^7.12.1",
50+
"@babel/runtime": "^7.12.1",
5151
"antd-dayjs-webpack-plugin": "^1.0.1",
52-
"autoprefixer": "^9.8.6",
52+
"autoprefixer": "^10.0.1",
5353
"babel-eslint": "^10.1.0",
5454
"babel-loader": "^8.1.0",
55-
"babel-plugin-import": "^1.13.0",
55+
"babel-plugin-import": "^1.13.1",
5656
"body-parser": "^1.19.0",
5757
"clean-webpack-plugin": "^3.0.0",
58-
"css-loader": "^4.3.0",
59-
"eslint": "^7.10.0",
58+
"css-loader": "5.0.0",
59+
"eslint": "^7.11.0",
6060
"eslint-loader": "^4.0.2",
6161
"eslint-plugin-prettier": "^3.1.4",
62-
"eslint-plugin-react": "^7.21.3",
62+
"eslint-plugin-react": "^7.21.4",
6363
"eslint-plugin-react-hooks": "^4.1.2",
6464
"express": "^4.17.1",
6565
"favicons-webpack-plugin": "4.2.0",
66-
"file-loader": "^6.1.0",
66+
"file-loader": "^6.1.1",
6767
"happypack": "^5.0.1",
6868
"html-webpack-plugin": "^4.5.0",
6969
"less": "^3.12.2",
70-
"less-loader": "^7.0.1",
71-
"mini-css-extract-plugin": "^0.12.0",
70+
"less-loader": "^7.0.2",
71+
"mini-css-extract-plugin": "^1.0.0",
7272
"mockjs": "^1.1.0",
7373
"optimize-css-assets-webpack-plugin": "^5.0.4",
74-
"postcss-loader": "^4.0.3",
74+
"postcss": "^8.1.1",
75+
"postcss-loader": "^4.0.4",
7576
"prettier": "2.1.2",
76-
"style-loader": "1.3.0",
77+
"style-loader": "2.0.0",
7778
"sw-precache-webpack-plugin": "^1.0.0",
78-
"terser-webpack-plugin": "^4.2.3",
79-
"url-loader": "^4.1.0",
80-
"webpack": "^4.44.2",
81-
"webpack-cli": "^3.3.12",
79+
"terser-webpack-plugin": "^5.0.0",
80+
"url-loader": "^4.1.1",
81+
"webpack": "4.x",
82+
"webpack-cli": "^4.0.0",
8283
"webpack-dev-middleware": "^3.7.2",
8384
"webpack-hot-middleware": "^2.25.0",
8485
"webpackbar": "^4.0.0",

Diff for: postcss.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** postcss-loader 解析器所需的配置文件 **/
22
module.exports = {
33
plugins: [
4-
require('autoprefixer')()
4+
require('autoprefixer')
55
]
66
};

Diff for: src/container/routers/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import zhCN from "antd/lib/locale-provider/zh_CN";
1111

1212
// import {createBrowserHistory as createHistory} from "history/"; // URL模式的history
1313
import { createHashHistory as createHistory } from "history"; // 锚点模式的history
14+
1415
import Loadable from "react-loadable"; // 用于代码分割时动态加载模块
1516

1617
/** 普通组件 **/

Diff for: webpack.dev.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = {
1616
output: {
1717
path: __dirname + "/", // 将打包好的文件放在此路径下,dev模式中,只会在内存中存在,不会真正的打包到此路径
1818
publicPath: PUBLIC_PATH, // 文件解析路径,index.html中引用的路径会被设置为相对于此路径
19-
filename: "bundle.js", // 编译后的文件名字
19+
filename: "bundle-[hash].js", // 编译后的文件名字
2020
},
2121
devtool: "eval-source-map", // 报错的时候在控制台输出哪一行报错
2222
optimization: {

0 commit comments

Comments
 (0)