mirror of https://github.com/webpack/webpack.git
make it more clear that cacheDirectory is optional
This commit is contained in:
parent
f236df1bc9
commit
38ada7bb0d
|
|
@ -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")
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue