11 lines
264 B
Swift
11 lines
264 B
Swift
import SwiftCompilerPlugin
|
|
import SwiftSyntaxMacros
|
|
|
|
/// Compiler plugin that provides the `@Observable` macro implementation.
|
|
@main
|
|
struct LuminateObservationPlugin: CompilerPlugin {
|
|
|
|
let providingMacros: [Macro.Type] = [
|
|
ObservableMacro.self
|
|
]
|
|
}
|