DEV: Enable broccoli memoization for faster incremental rebuilds (#22726)
This has been proposed as the new default, and is currently in-use on many large ember apps without issue. It is already the default under Embroider. Testing locally, this seems to make incremental builds in development at least 2x faster. https://github.com/ember-cli/ember-cli/issues/8681
This commit is contained in:
parent
37942cb8bb
commit
b426ac68ec
|
@ -12,6 +12,8 @@ const funnel = require("broccoli-funnel");
|
|||
const DeprecationSilencer = require("deprecation-silencer");
|
||||
const generateWorkboxTree = require("./lib/workbox-tree-builder");
|
||||
|
||||
process.env.BROCCOLI_ENABLED_MEMOIZE = true;
|
||||
|
||||
module.exports = function (defaults) {
|
||||
const discourseRoot = resolve("../../../..");
|
||||
const vendorJs = discourseRoot + "/vendor/assets/javascripts/";
|
||||
|
|
Loading…
Reference in New Issue