Remove bundle.js

This commit is contained in:
Mimi 2020-03-04 20:13:16 +08:00
parent 0005563b46
commit a40cba4e5f
4 changed files with 4 additions and 12 deletions

1
.gitignore vendored
View File

@ -88,3 +88,4 @@ dist/
.DS_Store
paper-io.log
public/js/bundle.js

View File

@ -29,14 +29,14 @@ npm start
You can configure the game by editing `config.json`.
**WARNING: Remember to build again after editing any file, include `config.json`.**
## Build
```bash
npm run build
```
**WARNING: Remember to build again after editing any file, include `config.json`.**
## Bots
Set `bots` in `config.json` to a non-zero value, or execute the command below:

File diff suppressed because one or more lines are too long

View File

@ -8,6 +8,7 @@ const server = require("http").createServer(app);
const io = require("socket.io")(server);
const { exec } = require("child_process");
exec("npm run build");
var config = require("./config.json");
if (!(config.port >= 0 && config.port < 65536 && config.port % 1 === 0)) {