Build the lobby plugin with Vite

Master replaced webpack with Vite and removed RequestError, port the
lobby plugin to both.
This commit is contained in:
Danielv123 committed 2026-10-29 20:55:59 +01:00
1 parent 00823262d5
commit bf3f4d445f
5 files changed
+12 -34

No files matched your search

+3 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@clusterio/plugin-lobby",
"version": "2.0.2",
"version": "2.0.3",
"description": "Clusterio plugin for a lobby server players pick the server to join from, and listing the cluster in the Factorio server browser",
"homepage": "https://github.com/clusterio/clusterio#readme",
"author": "Danielv123",
@@ -26,7 +26,7 @@
"type": "module",
"main": "dist/node/index.js",
"scripts": {
"prepare": "tsc --build && webpack-cli --mode production",
"prepare": "tsc --build && vite build",
"test": "echo \"Error: run tests from root\" && exit 1"
},
"engines": {
@@ -57,8 +57,6 @@
"@types/node": "catalog:",
"@types/react": "catalog:",
"typescript": "catalog:",
"webpack": "catalog:",
"webpack-cli": "catalog:",
"webpack-merge": "catalog:"
"vite": "catalog:"
}
}