mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-11 15:54:52 +09:00
Fix web module not loading
This commit is contained in:
14 files changed
+14
-2
No files matched your search
@@ -13,6 +13,7 @@ export const plugin: lib.PluginDeclaration = {
|
|||||||
name: "exp_auto_restart",
|
name: "exp_auto_restart",
|
||||||
title: "ExpGaming - Auto Restart",
|
title: "ExpGaming - Auto Restart",
|
||||||
description: "Clusterio plugin restarting hosts and the controller once no players are online",
|
description: "Clusterio plugin restarting hosts and the controller once no players are online",
|
||||||
|
webEntrypoint: "./web",
|
||||||
|
|
||||||
controllerEntrypoint: "./dist/node/controller.js",
|
controllerEntrypoint: "./dist/node/controller.js",
|
||||||
controllerConfigFields: {
|
controllerConfigFields: {
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
export default function() {};
|
||||||
@@ -18,7 +18,7 @@ module.exports = (env = {}) => merge(common(env), {
|
|||||||
exposes: {
|
exposes: {
|
||||||
"./": "./index.ts",
|
"./": "./index.ts",
|
||||||
"./package.json": "./package.json",
|
"./package.json": "./package.json",
|
||||||
"./web": "./web/index.tsx"
|
"./web": "./web/index.tsx",
|
||||||
},
|
},
|
||||||
shared: {
|
shared: {
|
||||||
"@clusterio/lib": { import: false },
|
"@clusterio/lib": { import: false },
|
||||||
|
|||||||
@@ -5,4 +5,5 @@ export const plugin: lib.PluginDeclaration = {
|
|||||||
title: "ExpGaming - Commands",
|
title: "ExpGaming - Commands",
|
||||||
description: "Clusterio plugin providing a Lua command processing library.",
|
description: "Clusterio plugin providing a Lua command processing library.",
|
||||||
instanceEntrypoint: "./dist/node/instance.js",
|
instanceEntrypoint: "./dist/node/instance.js",
|
||||||
|
webEntrypoint: "./web",
|
||||||
};
|
};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
export default function() {};
|
||||||
@@ -5,4 +5,5 @@ export const plugin: lib.PluginDeclaration = {
|
|||||||
title: "ExpGaming - GUI",
|
title: "ExpGaming - GUI",
|
||||||
description: "Clusterio plugin providing a Lua GUI definition library.",
|
description: "Clusterio plugin providing a Lua GUI definition library.",
|
||||||
instanceEntrypoint: "./dist/node/instance.js",
|
instanceEntrypoint: "./dist/node/instance.js",
|
||||||
|
webEntrypoint: "./web",
|
||||||
};
|
};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
export default function() {};
|
||||||
@@ -24,6 +24,7 @@ export const plugin: lib.PluginDeclaration = {
|
|||||||
name: "exp_server_list",
|
name: "exp_server_list",
|
||||||
title: "ExpGaming - Server List",
|
title: "ExpGaming - Server List",
|
||||||
description: "Clusterio plugin sharing the details of every instance with the others",
|
description: "Clusterio plugin sharing the details of every instance with the others",
|
||||||
|
webEntrypoint: "./web",
|
||||||
|
|
||||||
controllerEntrypoint: "./dist/node/controller.js",
|
controllerEntrypoint: "./dist/node/controller.js",
|
||||||
instanceEntrypoint: "./dist/node/instance.js",
|
instanceEntrypoint: "./dist/node/instance.js",
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
export default function() {};
|
||||||
@@ -18,7 +18,7 @@ module.exports = (env = {}) => merge(common(env), {
|
|||||||
exposes: {
|
exposes: {
|
||||||
"./": "./index.ts",
|
"./": "./index.ts",
|
||||||
"./package.json": "./package.json",
|
"./package.json": "./package.json",
|
||||||
"./web": "./web/index.tsx"
|
"./web": "./web/index.tsx",
|
||||||
},
|
},
|
||||||
shared: {
|
shared: {
|
||||||
"@clusterio/lib": { import: false },
|
"@clusterio/lib": { import: false },
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ export const plugin: lib.PluginDeclaration = {
|
|||||||
name: "exp_server_ups",
|
name: "exp_server_ups",
|
||||||
title: "ExpGaming - Server UPS",
|
title: "ExpGaming - Server UPS",
|
||||||
description: "Clusterio plugin providing in game server ups counter",
|
description: "Clusterio plugin providing in game server ups counter",
|
||||||
|
webEntrypoint: "./web",
|
||||||
|
|
||||||
instanceEntrypoint: "./dist/node/instance.js",
|
instanceEntrypoint: "./dist/node/instance.js",
|
||||||
instanceConfigFields: {
|
instanceConfigFields: {
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
export default function() {};
|
||||||
@@ -5,4 +5,5 @@ export const plugin: lib.PluginDeclaration = {
|
|||||||
title: "ExpGaming - Module Utilities",
|
title: "ExpGaming - Module Utilities",
|
||||||
description: "Provides extensions and overrides of base Lua library functions, and provides utility modules for improved module compatibly",
|
description: "Provides extensions and overrides of base Lua library functions, and provides utility modules for improved module compatibly",
|
||||||
instanceEntrypoint: "./dist/node/instance.js",
|
instanceEntrypoint: "./dist/node/instance.js",
|
||||||
|
webEntrypoint: "./web",
|
||||||
};
|
};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
export default function() {};
|
||||||
Reference in new issue
Block a user