ReviewOS

also looking at this

stacks/ts-analytics

chore: remove subdir-resolve workaround plugin (core handles it now)

#122
Merged glennmichael123 wants to merge chore/remove-subdir-resolve-workaround into main
2 files +6 -17
stx.config.tsmodified+6-1
Changes to stx.config.ts
@@ -1,5 +1,10 @@
11export 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,
38 // Paths relative to root ('resources', auto-detected).
49 // Don't include the 'resources/' prefix — it's already the root.
510 componentsDir: 'components',