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

Method _initVendorFiles

lib/broccoli/ember-app.js:335–358  ·  view source on GitHub ↗

@private @method _initVendorFiles

()

Source from the content-addressed store, hash-verified

333 @method _initVendorFiles
334 */
335 _initVendorFiles() {
336 let emberSource = this.project.findAddonByName('ember-source');
337
338 assert(
339 'Could not find `ember-source`. Please install `ember-source` by running `ember install ember-source`.',
340 emberSource
341 );
342
343 this.vendorFiles = omitBy(
344 merge(
345 emberSource.paths
346 ? {
347 'ember.js': {
348 development: emberSource.paths.debug,
349 production: emberSource.paths.prod,
350 },
351 'ember-testing.js': [emberSource.paths.testing, { type: 'test' }],
352 }
353 : {},
354 this.options.vendorFiles
355 ),
356 isNull
357 );
358 }
359
360 /**
361 Returns the environment name

Callers 1

constructorMethod · 0.95

Calls 2

assertFunction · 0.85
findAddonByNameMethod · 0.80

Tested by

no test coverage detected