mirror of https://github.com/webpack/webpack.git
test: fix
This commit is contained in:
parent
637bdc1e72
commit
c27648461e
|
@ -110,18 +110,14 @@ const describeCases = config => {
|
|||
(options.experiments && options.experiments.outputModule
|
||||
? ".mjs"
|
||||
: ".js");
|
||||
if (
|
||||
(config.cache && config.cache !== true) ||
|
||||
(options.cache && options.cache !== true)
|
||||
) {
|
||||
if (config.cache) {
|
||||
options.cache = {
|
||||
cacheDirectory,
|
||||
name:
|
||||
options.cache && options.cache !== true
|
||||
? options.cache.name
|
||||
: `config-${idx}`,
|
||||
...config.cache,
|
||||
...options.cache
|
||||
...config.cache
|
||||
};
|
||||
}
|
||||
if (config.cache) {
|
||||
|
|
Loading…
Reference in New Issue