Skip to content

Commit

Permalink
fix: avoid cache error (close #492)
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed May 25, 2018
1 parent e0860ff commit 75cdc74
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion lib/webpack/createBaseConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ module.exports = function createBaseConfig ({
vuepress: require('../../package.json').version,
'cache-loader': require('cache-loader').version,
'vue-loader': require('vue-loader').version,
env: process.env.NODE_ENV,
isProd,
isServer,
config: (
(siteConfig.chainWebpack || '').toString() +
(siteConfig.configureWebpack || '').toString()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"toml": "^2.3.3",
"url-loader": "^1.0.1",
"vue": "^2.5.16",
"vue-loader": "^15.2.0",
"vue-loader": "^15.2.1",
"vue-router": "^3.0.1",
"vue-server-renderer": "^2.5.16",
"vue-template-compiler": "^2.5.16",
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7288,9 +7288,9 @@ vue-hot-reload-api@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.0.tgz#97976142405d13d8efae154749e88c4e358cf926"

vue-loader@^15.2.0:
version "15.2.0"
resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-15.2.0.tgz#5a8138e490a1040942d2f10ae68fa72b5a923364"
vue-loader@^15.2.1:
version "15.2.1"
resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-15.2.1.tgz#89a13b6b7dec63614729c73b1b46a571a69bb20e"
dependencies:
"@vue/component-compiler-utils" "^1.2.1"
hash-sum "^1.0.2"
Expand Down

0 comments on commit 75cdc74

Please sign in to comment.