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

Method setupBroccoliBuilder

lib/models/builder.js:61–70  ·  view source on GitHub ↗

* @private * @method setupBroccoliBuilder

()

Source from the content-addressed store, hash-verified

59 * @method setupBroccoliBuilder
60 */
61 async setupBroccoliBuilder() {
62 this.environment = this.environment || 'development';
63 process.env.EMBER_ENV = process.env.EMBER_ENV || this.environment;
64
65 this.tree = await this.readBuildFile(this.project.root);
66
67 const broccoli = require('broccoli');
68
69 this.builder = new broccoli.Builder(this.tree);
70 }
71
72 /**
73 Determine whether the output path is safe to delete. If the outputPath

Callers 2

ensureBroccoliBuilderMethod · 0.95
builder-test.jsFile · 0.80

Calls 1

readBuildFileMethod · 0.95

Tested by

no test coverage detected