Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not iterate through GRDs for every single script and lib #7801

Open
wants to merge 1 commit into
base: master
from
Commits on Jan 17, 2020
  1. Do not iterate through GRDs for every single script and lib

    petemill committed Jan 17, 2020
    Anything which required Util was also in turn requiring l10nUtil, which performs computations in the module root and has some expectations as to the state of the source tree. This isn't ideal for scripts which run at any time. Whilst the perfect fix would be exporting this functionality as a function to be run on-demand and not in the module root, the fix in this commit reduces the time this occurs by removing the require from Util.js and therefore every other lib and script
You can’t perform that action at this time.