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

Function init

lib/commands/build.js:29–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 ],
28
29 init() {
30 this._super.apply(this, arguments);
31 if (!this.isViteProject) {
32 this.description = 'Builds your app and places it into the output path (dist/ by default).';
33 this.availableOptions = this.availableOptions.concat(ClassicOptions);
34 } else if (process.env.EMBROIDER_PREBUILD) {
35 // having the --watch option available surpresses a warning that you get in Vite prebuild
36 this.availableOptions = this.availableOptions.concat(ClassicOptions[0]);
37 }
38 },
39
40 async run(commandOptions) {
41 if (this.isViteProject && !process.env.EMBROIDER_PREBUILD) {

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…