main.seskar.compiler.react.memo.extensions.MemoRegistrar.kt Maven / Gradle / Ivy
package seskar.compiler.react.memo.extensions
import org.jetbrains.kotlin.backend.common.extensions.IrGenerationExtension
import org.jetbrains.kotlin.config.CompilerConfiguration
import seskar.compiler.common.extensions.JsCompilerPluginRegistrar
class MemoRegistrar : JsCompilerPluginRegistrar() {
override fun ExtensionStorage.registerExtensions(
configuration: CompilerConfiguration,
) {
IrGenerationExtension.registerExtension(MemoTransformExtension())
}
}