mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-13 08:04:53 +09:00
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:
1 parent
0ff07c012c
commit
8dbe1b4a19
2 files changed
-3
No files matched your search
@@ -47,6 +47,4 @@ export const plugin: lib.PluginDeclaration = {
|
||||
initialValue: false,
|
||||
},
|
||||
},
|
||||
|
||||
webEntrypoint: "./web",
|
||||
};
|
||||
@@ -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 },
|
||||
|
||||
Reference in new issue
Block a user