Provides the list of paths to consult for addons that may be provided internally to this project. Used for middleware addons with built-in support. @private @method supportedInternalAddonPaths
()
| 378 | @method supportedInternalAddonPaths |
| 379 | */ |
| 380 | supportedInternalAddonPaths() { |
| 381 | if (!this.root) { |
| 382 | return []; |
| 383 | } |
| 384 | |
| 385 | let internalMiddlewarePath = path.join(__dirname, '../tasks/server/middleware'); |
| 386 | let internalTransformPath = path.join(__dirname, '../tasks/transforms'); |
| 387 | |
| 388 | return [ |
| 389 | path.join(internalMiddlewarePath, 'testem-url-rewriter'), |
| 390 | path.join(internalMiddlewarePath, 'tests-server'), |
| 391 | path.join(internalMiddlewarePath, 'history-support'), |
| 392 | path.join(internalMiddlewarePath, 'broccoli-watcher'), |
| 393 | path.join(internalMiddlewarePath, 'broccoli-serve-files'), |
| 394 | path.join(internalMiddlewarePath, 'proxy-server'), |
| 395 | path.join(internalTransformPath, 'amd'), |
| 396 | ]; |
| 397 | } |
| 398 | |
| 399 | /** |
| 400 | * Discovers all addons for this project and stores their names and |