forked from CringeStudios/gamja
Add minimal Parcel integration
Closes: https://todo.sr.ht/~emersion/gamja/107
This commit is contained in:
parent
4309cf44d3
commit
ab2f8092a8
@ -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
|
This will start a development HTTP server for gamja. Connect to it and append
|
||||||
`?server=ws://localhost:8080` to the URL.
|
`?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
|
## Query parameters
|
||||||
|
|
||||||
gamja settings can be overridden using URL 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
|
[webircgateway]: https://github.com/kiwiirc/webircgateway
|
||||||
[mailing list]: https://lists.sr.ht/~emersion/public-inbox
|
[mailing list]: https://lists.sr.ht/~emersion/public-inbox
|
||||||
[issue tracker]: https://todo.sr.ht/~emersion/gamja
|
[issue tracker]: https://todo.sr.ht/~emersion/gamja
|
||||||
|
[Parcel]: https://parceljs.org
|
||||||
|
@ -11,5 +11,11 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "http-server ."
|
"start": "http-server ."
|
||||||
},
|
},
|
||||||
"private": true
|
"private": true,
|
||||||
|
"targets": {
|
||||||
|
"default": {
|
||||||
|
"source": "index.html",
|
||||||
|
"publicUrl": "."
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user