提交 09709540 编写于 作者: H Haoqun Jiang 提交者: ULIVZ

chore: update dependencies (#1555)

上级 cafb9916
......@@ -215,9 +215,9 @@ module.exports = class Page {
* @returns {string}
* @private
*/
stripFilename(fileName) {
stripFilename (fileName) {
const match = fileName.match(DATE_RE)
return match ? match[3] : fileName
}
......
......@@ -227,12 +227,13 @@ module.exports = function createBaseConfig (context, isServer) {
}
rule.use('css-loader')
.loader(isServer ? 'css-loader/locals' : 'css-loader')
.loader('css-loader')
.options({
modules,
localIdentName: `[local]_[hash:base64:8]`,
importLoaders: 1,
sourceMap: !isProd
sourceMap: !isProd,
exportOnlyLocals: isServer
})
rule.use('postcss-loader').loader('postcss-loader').options(Object.assign({
......
......@@ -36,23 +36,23 @@
"@vuepress/plugin-last-updated": "^1.0.0-alpha.47",
"@vuepress/plugin-register-components": "^1.0.0-alpha.47",
"@vuepress/shared-utils": "^1.0.0-alpha.47",
"autoprefixer": "^7.1.2",
"autoprefixer": "^9.5.1",
"babel-loader": "^8.0.4",
"cache-loader": "^1.2.2",
"cache-loader": "^3.0.0",
"chokidar": "^2.0.3",
"connect-history-api-fallback": "^1.5.0",
"copy-webpack-plugin": "^4.5.1",
"copy-webpack-plugin": "^5.0.2",
"cross-spawn": "^6.0.5",
"css-loader": "^0.28.11",
"file-loader": "^1.1.11",
"css-loader": "^2.1.1",
"file-loader": "^3.0.1",
"js-yaml": "^3.11.0",
"lru-cache": "^5.1.1",
"mini-css-extract-plugin": "0.4.4",
"mini-css-extract-plugin": "0.6.0",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"portfinder": "^1.0.13",
"postcss-loader": "^2.1.5",
"postcss-loader": "^3.0.0",
"postcss-safe-parser": "^4.0.1",
"toml": "^2.3.3",
"toml": "^3.0.0",
"url-loader": "^1.0.1",
"vue": "^2.5.16",
"vue-loader": "^15.2.4",
......@@ -65,7 +65,7 @@
"webpack-chain": "^4.6.0",
"webpack-dev-server": "^3.1.14",
"webpack-merge": "^4.1.2",
"webpackbar": "^2.6.1"
"webpackbar": "3.2.0"
},
"engines": {
"node": ">=8.6"
......
......@@ -30,11 +30,11 @@
"chalk": "^2.3.2",
"diacritics": "^1.3.0",
"escape-html": "^1.0.3",
"fs-extra": "^5.0.0",
"globby": "^8.0.1",
"fs-extra": "^7.0.1",
"globby": "^9.2.0",
"gray-matter": "^4.0.1",
"hash-sum": "^1.0.2",
"semver": "^5.5.0",
"semver": "^6.0.0",
"upath": "^1.1.0"
},
"author": "ULIVZ <chl814@foxmail.com>",
......
......@@ -25,7 +25,7 @@
"@vuepress/core": "^1.0.0-alpha.47",
"@vuepress/shared-utils": "^1.0.0-alpha.47",
"babel-jest": "^24.7.1",
"execa": "^0.10.0",
"execa": "^1.0.0",
"jest": "^24.7.1",
"jest-serializer-vue": "^2.0.2",
"ts-jest": "^24.0.2",
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册