Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const hostname = "localhost";
const port = 3000;

async function main() {
const app = next({ dev, hostname, port });
const app = next({ dev, hostname, port, webpack: true });
await app.prepare();
const httpServer = createServer(app.getRequestHandler());
const io: SocketServer = new Server(httpServer);
Expand Down
8 changes: 1 addition & 7 deletions lint-staged.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
import path from "node:path";

// eslint-disable-next-line import/no-anonymous-default-export
export default {
"*": "prettier --cache --ignore-unknown --write",
"*.{js,jsx,ts,tsx}": (filenames) =>
`next lint --fix ${filenames
.map((filename) => `--file ${path.relative(process.cwd(), filename)}`)
.join(" ")}`,
"*.{js,jsx,ts,tsx}": "eslint --fix",
};
Loading
Loading