Remove @_exported imports to prevent macro conflicts

- Changed Exports.swift to use regular imports instead of @_exported
- This prevents ambiguous macro resolution issues in consuming apps
This commit is contained in:
Matt Bruce 2026-01-02 12:02:27 -06:00
parent 8e788ef212
commit b3033c084a

View File

@ -2,13 +2,10 @@
// Exports.swift // Exports.swift
// Bedrock // Bedrock
// //
// Re-exports for convenient importing. // Common imports for Bedrock.
// //
// Note: We import but don't re-export SwiftUI/Foundation to avoid
// ambiguity issues with macros like #Preview when apps also import these.
import SwiftUI import SwiftUI
import Foundation
// Re-export SwiftUI for consumers who only import Bedrock
@_exported import SwiftUI
// Re-export Foundation for common types
@_exported import Foundation