Skip to content

Commit

Permalink
[BETA] Add environment variable to opt-out of rolling up -private (#…
Browse files Browse the repository at this point in the history
…6312)

This allows us to:

* Gather data about size per `-private` module
* Gather usage details about each `-private` module (via Chrome's
  coverage stats)
* Test the overall application performance impact of doing the `rollup`
  stages (do we still need them? how much impact does it have?)
  • Loading branch information
rwjblue authored and igorT committed Sep 6, 2019
1 parent a029725 commit 77c0c7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function addonBuildConfigForDataPackage(PackageName) {
},

treeForAddon(tree) {
if (this.shouldRollupPrivate !== true) {
if (process.env.EMBER_DATA_ROLLUP_PRIVATE !== 'false' && this.shouldRollupPrivate !== true) {
return this._super.treeForAddon.call(this, tree);
}

Expand Down

0 comments on commit 77c0c7c

Please sign in to comment.