mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 06:13:38 +08:00
16c6ab8661
Previously we were discovering plugin outlets by checking first for dedicated template files, and then looking for classes to match them. This doesn't work for components which are entirely defined in JS (e.g. those authored with gjs, or those which are re-exports of a colocated component). This commit refactors our detection logic to look for both class and template modules in a single pass. It also refactors things so that the modules themselves are required lazily when needd, rather than all being loaded during app boot. |
||
---|---|---|
.. | ||
addon | ||
app | ||
config | ||
.npmrc | ||
ember-cli-build.js | ||
index.js | ||
package.json |