Found during module-packaging Session 2.
The packaging brief requires module bundles to externalize SimpleModule.UI alongside react/react-dom/@inertiajs/react, but @simplemodule/ui is not in defaultVendors (packages/SimpleModule.Client/src/vite-plugin-vendor.ts) and has no import-map entry — every module inlines the components it uses (a large share of the ~1.3 MB unminified Manage chunk in FeatureFlags).
Needed: vendor bundle(s) for @simplemodule/ui subpath exports (components, lib/utils), import-map entries in the HTML shell, externals in defineModuleConfig, and extending BundleExternalsValidator + the docs externals contract once host-provided.
Until then sm pack validates only the react/inertia externals set (documented in docs/site/advanced/module-packaging.md).
Found during module-packaging Session 2.
The packaging brief requires module bundles to externalize SimpleModule.UI alongside react/react-dom/@inertiajs/react, but @simplemodule/ui is not in
defaultVendors(packages/SimpleModule.Client/src/vite-plugin-vendor.ts) and has no import-map entry — every module inlines the components it uses (a large share of the ~1.3 MB unminified Manage chunk in FeatureFlags).Needed: vendor bundle(s) for @simplemodule/ui subpath exports (components, lib/utils), import-map entries in the HTML shell, externals in defineModuleConfig, and extending BundleExternalsValidator + the docs externals contract once host-provided.
Until then
sm packvalidates only the react/inertia externals set (documented in docs/site/advanced/module-packaging.md).