mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 23:04:52 +09:00
Add ability to define plugin code that runs in the context of a host, starts up with the host does, and stops when the host shuts down.
8 lines
224 B
TypeScript
8 lines
224 B
TypeScript
import { bootstrap } from "./host";
|
|
export { default as BaseHostPlugin } from "./src/BaseHostPlugin";
|
|
export { default as BaseInstancePlugin } from "./src/BaseInstancePlugin";
|
|
|
|
if (module === require.main) {
|
|
bootstrap();
|
|
}
|