also looking at this
chore: remove subdir-resolve workaround plugin (core handles it now)
#122
2 files
+6
-17
| @@ -1,5 +1,10 @@ | ||
| 1 | 1 | export default { |
| 2 | plugins: ['./stx-app-components.plugin.ts', './stx-components.plugin.ts'] as const, | |
| 2 | // stx-components.plugin registers the @stacksjs/components library (stx does | |
| 3 | // not auto-resolve it). The app's own resources/components no longer needs a | |
| 4 | // plugin — stx walks componentsDir recursively since stx@d914f3ab83, so subdir | |
| 5 | // kebab tags (<site-selector> → components/dashboard/SiteSelector.stx) resolve | |
| 6 | // natively. (Removed the old stx-app-components.plugin.ts workaround.) | |
| 7 | plugins: ['./stx-components.plugin.ts'] as const, | |
| 3 | 8 | // Paths relative to root ('resources', auto-detected). |
| 4 | 9 | // Don't include the 'resources/' prefix — it's already the root. |
| 5 | 10 | componentsDir: 'components', |