mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-10 05:02:45 +01:00
built assets are webpack cacheable
This commit is contained in:
parent
914394054e
commit
cfc94fd9af
@ -14,6 +14,6 @@ module.exports = function() {
|
||||
return {
|
||||
code,
|
||||
dependencies: files.map(f => require.resolve('../assets/' + f)),
|
||||
cacheable: false
|
||||
cacheable: true
|
||||
};
|
||||
};
|
||||
|
@ -17,6 +17,6 @@ module.exports = function() {
|
||||
dependencies: dirs.map(d =>
|
||||
require.resolve(`../public/locales/${d}/send.ftl`)
|
||||
),
|
||||
cacheable: false
|
||||
cacheable: true
|
||||
};
|
||||
};
|
||||
|
@ -11,6 +11,6 @@ module.exports = function() {
|
||||
return {
|
||||
code,
|
||||
dependencies: files.map(f => require.resolve('./tests/' + f)),
|
||||
cacheable: false
|
||||
cacheable: true
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user