diff --git a/exp_auto_restart/index.ts b/exp_auto_restart/index.ts index 27420411..8ad37769 100644 --- a/exp_auto_restart/index.ts +++ b/exp_auto_restart/index.ts @@ -13,6 +13,7 @@ export const plugin: lib.PluginDeclaration = { name: "exp_auto_restart", title: "ExpGaming - Auto Restart", description: "Clusterio plugin restarting hosts and the controller once no players are online", + webEntrypoint: "./web", controllerEntrypoint: "./dist/node/controller.js", controllerConfigFields: { diff --git a/exp_auto_restart/web/index.tsx b/exp_auto_restart/web/index.tsx index e69de29b..a5e4ff33 100644 --- a/exp_auto_restart/web/index.tsx +++ b/exp_auto_restart/web/index.tsx @@ -0,0 +1 @@ +export default function() {}; \ No newline at end of file diff --git a/exp_auto_restart/webpack.config.cjs b/exp_auto_restart/webpack.config.cjs index 0b2625d2..f4b83f6c 100644 --- a/exp_auto_restart/webpack.config.cjs +++ b/exp_auto_restart/webpack.config.cjs @@ -18,7 +18,7 @@ module.exports = (env = {}) => merge(common(env), { exposes: { "./": "./index.ts", "./package.json": "./package.json", - "./web": "./web/index.tsx" + "./web": "./web/index.tsx", }, shared: { "@clusterio/lib": { import: false }, diff --git a/exp_commands/index.ts b/exp_commands/index.ts index b29c88eb..fb5bb201 100644 --- a/exp_commands/index.ts +++ b/exp_commands/index.ts @@ -5,4 +5,5 @@ export const plugin: lib.PluginDeclaration = { title: "ExpGaming - Commands", description: "Clusterio plugin providing a Lua command processing library.", instanceEntrypoint: "./dist/node/instance.js", + webEntrypoint: "./web", }; diff --git a/exp_commands/web/index.tsx b/exp_commands/web/index.tsx index e69de29b..a5e4ff33 100644 --- a/exp_commands/web/index.tsx +++ b/exp_commands/web/index.tsx @@ -0,0 +1 @@ +export default function() {}; \ No newline at end of file diff --git a/exp_gui/index.ts b/exp_gui/index.ts index 93a8b400..56e8e4e1 100644 --- a/exp_gui/index.ts +++ b/exp_gui/index.ts @@ -5,4 +5,5 @@ export const plugin: lib.PluginDeclaration = { title: "ExpGaming - GUI", description: "Clusterio plugin providing a Lua GUI definition library.", instanceEntrypoint: "./dist/node/instance.js", + webEntrypoint: "./web", }; diff --git a/exp_gui/web/index.tsx b/exp_gui/web/index.tsx index e69de29b..a5e4ff33 100644 --- a/exp_gui/web/index.tsx +++ b/exp_gui/web/index.tsx @@ -0,0 +1 @@ +export default function() {}; \ No newline at end of file diff --git a/exp_server_list/index.ts b/exp_server_list/index.ts index 2bbcc7b7..8b9ce6c4 100644 --- a/exp_server_list/index.ts +++ b/exp_server_list/index.ts @@ -24,6 +24,7 @@ export const plugin: lib.PluginDeclaration = { name: "exp_server_list", title: "ExpGaming - Server List", description: "Clusterio plugin sharing the details of every instance with the others", + webEntrypoint: "./web", controllerEntrypoint: "./dist/node/controller.js", instanceEntrypoint: "./dist/node/instance.js", diff --git a/exp_server_list/web/index.tsx b/exp_server_list/web/index.tsx index e69de29b..a5e4ff33 100644 --- a/exp_server_list/web/index.tsx +++ b/exp_server_list/web/index.tsx @@ -0,0 +1 @@ +export default function() {}; \ No newline at end of file diff --git a/exp_server_list/webpack.config.cjs b/exp_server_list/webpack.config.cjs index 6ccb5c92..124ef5d0 100644 --- a/exp_server_list/webpack.config.cjs +++ b/exp_server_list/webpack.config.cjs @@ -18,7 +18,7 @@ module.exports = (env = {}) => merge(common(env), { exposes: { "./": "./index.ts", "./package.json": "./package.json", - "./web": "./web/index.tsx" + "./web": "./web/index.tsx", }, shared: { "@clusterio/lib": { import: false }, diff --git a/exp_server_ups/index.ts b/exp_server_ups/index.ts index 404259e9..85516393 100644 --- a/exp_server_ups/index.ts +++ b/exp_server_ups/index.ts @@ -11,6 +11,7 @@ export const plugin: lib.PluginDeclaration = { name: "exp_server_ups", title: "ExpGaming - Server UPS", description: "Clusterio plugin providing in game server ups counter", + webEntrypoint: "./web", instanceEntrypoint: "./dist/node/instance.js", instanceConfigFields: { diff --git a/exp_server_ups/web/index.tsx b/exp_server_ups/web/index.tsx index e69de29b..a5e4ff33 100644 --- a/exp_server_ups/web/index.tsx +++ b/exp_server_ups/web/index.tsx @@ -0,0 +1 @@ +export default function() {}; \ No newline at end of file diff --git a/exp_util/index.ts b/exp_util/index.ts index e851a478..863a60c3 100644 --- a/exp_util/index.ts +++ b/exp_util/index.ts @@ -5,4 +5,5 @@ export const plugin: lib.PluginDeclaration = { title: "ExpGaming - Module Utilities", description: "Provides extensions and overrides of base Lua library functions, and provides utility modules for improved module compatibly", instanceEntrypoint: "./dist/node/instance.js", + webEntrypoint: "./web", }; diff --git a/exp_util/web/index.tsx b/exp_util/web/index.tsx index e69de29b..a5e4ff33 100644 --- a/exp_util/web/index.tsx +++ b/exp_util/web/index.tsx @@ -0,0 +1 @@ +export default function() {}; \ No newline at end of file