From cfc94fd9afd7579d7bc4a9529586c94629f92791 Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Fri, 2 Mar 2018 13:58:05 -0800 Subject: [PATCH] built assets are webpack cacheable --- build/generate_asset_map.js | 2 +- build/generate_l10n_map.js | 2 +- test/frontend/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/generate_asset_map.js b/build/generate_asset_map.js index d1efebb1..1047e974 100644 --- a/build/generate_asset_map.js +++ b/build/generate_asset_map.js @@ -14,6 +14,6 @@ module.exports = function() { return { code, dependencies: files.map(f => require.resolve('../assets/' + f)), - cacheable: false + cacheable: true }; }; diff --git a/build/generate_l10n_map.js b/build/generate_l10n_map.js index 57f73ab4..15c898dd 100644 --- a/build/generate_l10n_map.js +++ b/build/generate_l10n_map.js @@ -17,6 +17,6 @@ module.exports = function() { dependencies: dirs.map(d => require.resolve(`../public/locales/${d}/send.ftl`) ), - cacheable: false + cacheable: true }; }; diff --git a/test/frontend/index.js b/test/frontend/index.js index c5906c65..9485bc5e 100644 --- a/test/frontend/index.js +++ b/test/frontend/index.js @@ -11,6 +11,6 @@ module.exports = function() { return { code, dependencies: files.map(f => require.resolve('./tests/' + f)), - cacheable: false + cacheable: true }; };