MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / shouldCompileTemplates

Function shouldCompileTemplates

lib/models/addon.js:957–959  ·  view source on GitHub ↗

Looks in the addon/ and addon/templates trees to determine if template files exist that need to be precompiled. This is executed once when building, but not on rebuilds. @private @method shouldCompileTemplates @return {Boolean} indicates if templates need to be compiled for thi

()

Source from the content-addressed store, hash-verified

955 @return {Boolean} indicates if templates need to be compiled for this addon
956 */
957 shouldCompileTemplates() {
958 return this._fileSystemInfo().hasTemplates;
959 },
960
961 /**
962 Looks in the addon/ and addon/templates trees to determine if template files

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…