18 lines
366 B
Swift
18 lines
366 B
Swift
//
|
|
// Plugin.swift
|
|
// LuminateObservationMacros
|
|
//
|
|
// Created by Brendan Szymanski on 6/15/26.
|
|
//
|
|
|
|
import SwiftCompilerPlugin
|
|
import SwiftSyntaxMacros
|
|
|
|
/// Compiler plugin that provides the `@Observable` macro implementation.
|
|
@main
|
|
struct LuminateObservationPlugin: CompilerPlugin {
|
|
|
|
let providingMacros: [Macro.Type] = [
|
|
ObservableMacro.self
|
|
]
|
|
}
|