Remove bundle.js
This commit is contained in:
parent
0005563b46
commit
a40cba4e5f
1
.gitignore
vendored
1
.gitignore
vendored
@ -88,3 +88,4 @@ dist/
|
||||
.DS_Store
|
||||
|
||||
paper-io.log
|
||||
public/js/bundle.js
|
||||
|
@ -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
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user