treeherder/neutrino-custom
Ed Morley 038e60a833
Bug 1441614 - Use imports for templates instead of cache-template.js (#3286)
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
2018-03-01 17:05:35 +00:00
..
base.js Bug 1441617 - Always import angular explicitly 2018-03-01 01:42:49 +00:00
development.js Bug 1366909 - Merge Test view app into Treeherder repository (#3001) 2017-12-14 08:03:32 -08:00
lint.js Bug 1441614 - Use imports for templates instead of cache-template.js (#3286) 2018-03-01 17:05:35 +00:00
local-watch.js Bug 1366909 - Merge Test view app into Treeherder repository (#3001) 2017-12-14 08:03:32 -08:00
production.js Bug 1364894 - Whitelist rather than blacklist files copied to dist/ 2018-01-24 23:43:58 +00:00
test.js Bug 1366909 - Merge Test view app into Treeherder repository (#3001) 2017-12-14 08:03:32 -08:00