Initial content

This commit is contained in:
Adam Freeman
2024-05-29 18:54:49 +01:00
parent 2dbc1a8088
commit 5215a1d919
1944 changed files with 203378 additions and 0 deletions
@@ -0,0 +1,19 @@
import path from "path";
import { fileURLToPath } from 'url';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
export default {
mode: "development",
entry: "./src/client/client.js",
devtool: "source-map",
output: {
path: path.resolve(__dirname, "dist/client"),
filename: "bundle.js"
},
devServer: {
static: ["./static"],
port: 5100,
client: { webSocketURL: "http://localhost:5000/ws" }
}
};