MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / processJavascript

Method processJavascript

lib/broccoli/default-packager.js:488–506  ·  view source on GitHub ↗
(tree)

Source from the content-addressed store, hash-verified

486 * @return {BroccoliTree}
487 */
488 processJavascript(tree) {
489 if (this._cachedProcessedJavascript === null) {
490 let javascript = new Funnel(tree, {
491 srcDir: this.name,
492 destDir: this.name,
493 annotation: '',
494 });
495 let app = callAddonsPreprocessTreeHook(this.project, 'js', javascript);
496
497 let preprocessedApp = preprocessJs(app, '/', this.name, {
498 registry: this.registry,
499 treeType: 'app',
500 });
501
502 this._cachedProcessedJavascript = callAddonsPostprocessTreeHook(this.project, 'js', preprocessedApp);
503 }
504
505 return this._cachedProcessedJavascript;
506 }
507
508 /*
509 * Compiles application css files, runs pre/post-processors hooks on the them,

Callers 2

javascript-test.jsFile · 0.80

Calls 3

preprocessJsFunction · 0.50

Tested by

no test coverage detected