mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 10:55:06 -05:00
Add minimal Parcel integration
Closes: https://todo.sr.ht/~emersion/gamja/107
This commit is contained in:
parent
4309cf44d3
commit
ab2f8092a8
2 changed files with 15 additions and 1 deletions
|
@ -62,6 +62,13 @@ Start your IRC WebSocket server, e.g. on port 8080. Then run:
|
|||
This will start a development HTTP server for gamja. Connect to it and append
|
||||
`?server=ws://localhost:8080` to the URL.
|
||||
|
||||
### Production build
|
||||
|
||||
Optionally, [Parcel] can be used to build a minified version of gamja. Install
|
||||
Parcel and then run:
|
||||
|
||||
parcel build
|
||||
|
||||
## Query parameters
|
||||
|
||||
gamja settings can be overridden using URL query parameters:
|
||||
|
@ -119,3 +126,4 @@ Copyright (C) 2020 The gamja Contributors
|
|||
[webircgateway]: https://github.com/kiwiirc/webircgateway
|
||||
[mailing list]: https://lists.sr.ht/~emersion/public-inbox
|
||||
[issue tracker]: https://todo.sr.ht/~emersion/gamja
|
||||
[Parcel]: https://parceljs.org
|
||||
|
|
|
@ -11,5 +11,11 @@
|
|||
"scripts": {
|
||||
"start": "http-server ."
|
||||
},
|
||||
"private": true
|
||||
"private": true,
|
||||
"targets": {
|
||||
"default": {
|
||||
"source": "index.html",
|
||||
"publicUrl": "."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue