Skip to content

Commit 09e47eb

Browse files
committed
chore: Update dependencies
1 parent d619a95 commit 09e47eb

File tree

3 files changed

+392
-399
lines changed

3 files changed

+392
-399
lines changed

build/utils.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,9 @@ const cssLoader = {
1616
loader: 'css-loader',
1717
options: {
1818
importLoaders: 2,
19-
modules: true,
20-
/**
21-
* 为了兼容之前没有用 css module 的代码, 暂时不能设置为 [name]__[local]--[hash:base64:5]
22-
* [local] 其实就是原本的名称
23-
*/
24-
localIdentName: '[local]--[hash:base64:5]',
19+
modules: {
20+
localIdentName: '[local]--[hash:base64:5]',
21+
},
2522
},
2623
};
2724

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"url": "https://github.com/yinxin630/fiora"
2828
},
2929
"dependencies": {
30-
"axios": "^0.18.0",
30+
"axios": "^0.19.0",
3131
"babel-polyfill": "^6.26.0",
3232
"bcryptjs": "^2.4.3",
3333
"brace": "^0.11.1",
@@ -99,7 +99,7 @@
9999
"connect-history-api-fallback": "^1.3.0",
100100
"copy-webpack-plugin": "^4.5.1",
101101
"cross-env": "^5.1.6",
102-
"css-loader": "^0.28.11",
102+
"css-loader": "^3.2.0",
103103
"eslint": "^6.1.0",
104104
"eslint-config-airbnb": "^18.0.1",
105105
"eslint-plugin-import": "^2.18.2",
@@ -114,28 +114,27 @@
114114
"function-bind": "^1.1.0",
115115
"html-webpack-plugin": "^3.2.0",
116116
"http-proxy-middleware": "^0.17.3",
117-
"less": "^2.7.2",
117+
"less": "^3.10.3",
118118
"less-loader": "^4.1.0",
119119
"less-plugin-autoprefix": "^1.5.1",
120120
"nodemon": "^1.17.3",
121121
"opn": "^4.0.2",
122122
"optimize-css-assets-webpack-plugin": "^4.0.0",
123123
"ora": "^1.1.0",
124124
"pre-commit": "^1.2.2",
125-
"pxrem-loader": "^1.0.0",
126125
"react-transform-log-render": "^1.0.0",
127126
"react-transform-style": "^1.0.4",
128127
"redbox-react": "^1.3.4",
129128
"rimraf": "^2.6.0",
130-
"semver": "^5.3.0",
131129
"script-ext-html-webpack-plugin": "^2.0.1",
130+
"semver": "^5.3.0",
132131
"style-loader": "^0.15.0",
133132
"ts-loader": "^6.0.4",
134133
"ts-node": "^8.3.0",
135134
"typescript": "^3.5.3",
136135
"url-loader": "^0.5.7",
137136
"webpack": "^4.5.0",
138-
"webpack-bundle-analyzer": "^2.11.1",
137+
"webpack-bundle-analyzer": "^3.4.1",
139138
"webpack-dev-middleware": "^3.1.2",
140139
"webpack-hot-middleware": "^2.22.0",
141140
"webpack-merge": "^4.1.2"

0 commit comments

Comments
 (0)