From 8dbe1b4a190f6e1b3ae18ebeb383f51dba2ada06 Mon Sep 17 00:00:00 2001 From: bbassie <17990055+bbassie@users.noreply.github.com> Date: Sun, 27 Sep 2026 00:13:38 +0000 Subject: [PATCH] Drop the empty web entrypoint from exp_auto_restart web/index.tsx is empty, so the web UI failed to load the plugin with "must export either a default function or WebPlugin". Plugins without a web UI, like clusterio's statistics_exporter, keep the empty file only as the webpack entry and expose just the plugin info and package.json. That is still enough for the web UI to show and edit the plugin's controller config. Co-Authored-By: Claude Opus 5.5 --- exp_auto_restart/index.ts | 2 -- exp_auto_restart/webpack.config.cjs | 1 - 2 files changed, 3 deletions(-) diff --git a/exp_auto_restart/index.ts b/exp_auto_restart/index.ts index 0d3274cc..27420411 100644 --- a/exp_auto_restart/index.ts +++ b/exp_auto_restart/index.ts @@ -47,6 +47,4 @@ export const plugin: lib.PluginDeclaration = { initialValue: false, }, }, - - webEntrypoint: "./web", }; diff --git a/exp_auto_restart/webpack.config.cjs b/exp_auto_restart/webpack.config.cjs index 58150215..b4a840fa 100644 --- a/exp_auto_restart/webpack.config.cjs +++ b/exp_auto_restart/webpack.config.cjs @@ -18,7 +18,6 @@ module.exports = (env = {}) => merge(common(env), { exposes: { "./": "./index.ts", "./package.json": "./package.json", - "./web": "./web/index.tsx", }, shared: { "@clusterio/lib": { import: false },