facebookarchive / prepack

A JavaScript bundle optimizer.
http://prepack.io
Other
14.22k stars 425 forks source link

Change initializeMoreModules to modulesToInitialize allowing you to s… #2576

Closed cblappert closed 5 years ago

cblappert commented 5 years ago

…pecify modules

Release Notes: --initializeMoreModules is now --modulesToInitialize <ALL | comma separated list of modules>

Sometimes it'll be useful to allow the user to specify which specific modules you want to speculatively execute. This allows that by turning --initializeMoreModules into --modulesToInitialize <ALL | comma separated list of modules>

Updated tests as well.

dulinriley commented 5 years ago

He told me to accept this.

NTillmann commented 5 years ago

This should have a release note, as it's a breaking change.