built assets are webpack cacheable
This commit is contained in:
parent
914394054e
commit
cfc94fd9af
|
@ -14,6 +14,6 @@ module.exports = function() {
|
||||||
return {
|
return {
|
||||||
code,
|
code,
|
||||||
dependencies: files.map(f => require.resolve('../assets/' + f)),
|
dependencies: files.map(f => require.resolve('../assets/' + f)),
|
||||||
cacheable: false
|
cacheable: true
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -17,6 +17,6 @@ module.exports = function() {
|
||||||
dependencies: dirs.map(d =>
|
dependencies: dirs.map(d =>
|
||||||
require.resolve(`../public/locales/${d}/send.ftl`)
|
require.resolve(`../public/locales/${d}/send.ftl`)
|
||||||
),
|
),
|
||||||
cacheable: false
|
cacheable: true
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -11,6 +11,6 @@ module.exports = function() {
|
||||||
return {
|
return {
|
||||||
code,
|
code,
|
||||||
dependencies: files.map(f => require.resolve('./tests/' + f)),
|
dependencies: files.map(f => require.resolve('./tests/' + f)),
|
||||||
cacheable: false
|
cacheable: true
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue