()
| 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) { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…