feat(build): make global exports opt in

Default generated APIs to component-scoped modules and require global_exports(true) for legacy/global slot, handle, class, event, and lowering exports.

req: component/003

req: build/001
This commit is contained in:
slhx agent
2026-05-26 00:23:38 +02:00
parent 93c68b6d87
commit 4803d681d2
2 changed files with 49 additions and 9 deletions
+3 -1
View File
@@ -1 +1,3 @@
fn main() { slhx_build::app().run().unwrap(); }
fn main() {
slhx_build::app().global_exports(true).run().unwrap();
}