зеркало из https://github.com/mozilla/treeherder.git
038e60a833
Previously all templates were being included on every page, regardless of whether they were being used, bloating the bundles. In addition, `templateUrl` has a number of issues compared to `template`: https://medium.com/@frosty/angularjs-template-vs-templateurl-cdde055b7907 There are now no more instances of non-global `require()`s (or any require()s for that matter), so we can enable that eslint rule: https://eslint.org/docs/rules/global-require Improves the bundle sizes as follows: * index: -60KB * logviewer: -138KB * perf: -84KB |
||
---|---|---|
.. | ||
base.js | ||
development.js | ||
lint.js | ||
local-watch.js | ||
production.js | ||
test.js |