Merge pull request #483 from bbassie/refactor/init-function-exports

Export init functions instead of plugin classes
This commit is contained in:
Cooldude2606 authored and GitHub committed 2026-09-27 01:53:11 +01:00
commit 46bb15e4a6
28 files changed
+268 -134

No files matched your search

+3 -7
View File
@@ -1,7 +1,3 @@
import * as lib from "@clusterio/lib";
import { BaseInstancePlugin } from "@clusterio/host";
export class InstancePlugin extends BaseInstancePlugin {
// This class is empty because an instance plugin must be defined for a module to be injected
// This requirement may change in the future to allow for standalone modules
}
// Empty because an instance entrypoint must be defined for a module to be injected
// This requirement may change in the future to allow for standalone modules
export default async function () {}