built assets are webpack cacheable

This commit is contained in:
Danny Coates 2018-03-02 13:58:05 -08:00
parent 914394054e
commit cfc94fd9af
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
3 changed files with 3 additions and 3 deletions

View file

@ -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
}; };
}; };

View file

@ -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
}; };
}; };

View file

@ -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
}; };
}; };