Fix web module not loading

This commit is contained in:
Cooldude2606 committed 2026-10-17 16:54:13 +01:00
1 parent 472db1e22a
commit 99d47cf114
14 files changed
+14 -2

No files matched your search

+1
View File
@@ -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: {
+1
View File
@@ -0,0 +1 @@
export default function() {};
+1 -1
View File
@@ -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 },