make it more clear that cacheDirectory is optional

This commit is contained in:
Tobias Koppers 2019-08-12 16:37:12 +02:00
parent f236df1bc9
commit 38ada7bb0d
2 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,8 @@ module.exports = (env = "development") => ({
},
cache: {
type: "filesystem",
// changing the cacheDirectory is optional,
// by default it will be in `node_modules/.cache`
cacheDirectory: path.resolve(__dirname, ".cache")
}
});

View File

@ -6,6 +6,8 @@ module.exports = (env = "development") => ({
},
cache: {
type: "filesystem",
// changing the cacheDirectory is optional,
// by default it will be in `node_modules/.cache`
cacheDirectory: path.resolve(__dirname, ".cache")
}
});