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 <noreply@anthropic.com>
This commit is contained in:
bbassieandClaude Opus 5.5 committed 2026-09-27 00:13:38 +00:00
1 parent 0ff07c012c
commit 8dbe1b4a19
2 files changed
-3

No files matched your search

-2
View File
@@ -47,6 +47,4 @@ export const plugin: lib.PluginDeclaration = {
initialValue: false,
},
},
webEntrypoint: "./web",
};
-1
View File
@@ -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 },