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

Method packageApplicationJs

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

Source from the content-addressed store, hash-verified

1176 * @return {BroccoliTree}
1177 */
1178 packageApplicationJs(tree) {
1179 let inputFiles = [`${this.name}/**/*.js`];
1180 let headerFiles = ['vendor/ember-cli/app-prefix.js'];
1181 let footerFiles = [
1182 'vendor/ember-cli/app-suffix.js',
1183 'vendor/ember-cli/app-config.js',
1184 'vendor/ember-cli/app-boot.js',
1185 ];
1186
1187 return concat(tree, {
1188 inputFiles,
1189 headerFiles,
1190 footerFiles,
1191 outputFile: this.distPaths.appJsFile,
1192 annotation: 'Packaged Application Javascript',
1193 separator: '\n;',
1194 sourceMapConfig: this.sourcemaps,
1195 });
1196 }
1197
1198 /*
1199 * Concatenates all application's vendor javascript Broccoli trees into one, as follows:

Callers 1

packageJavascriptMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected