mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-07 16:23:09 +00:00
Add netlify config
This commit is contained in:
parent
faf5f46a35
commit
c7ffdda926
21
netlify.toml
Normal file
21
netlify.toml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
[build]
|
||||||
|
publish = "build/html/"
|
||||||
|
|
||||||
|
# Default build command.
|
||||||
|
command = '''
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
|
npm run doc:html
|
||||||
|
cd examples/web-chat
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
|
cd ../../
|
||||||
|
mkdir -p ./build/html
|
||||||
|
mv -v examples/web-chat/build ./build/html/js-waku
|
||||||
|
mv -v build/docs ./build/html/
|
||||||
|
'''
|
||||||
|
|
||||||
|
[[redirects]]
|
||||||
|
from = "/"
|
||||||
|
to = "/js-waku"
|
||||||
|
status = 200
|
||||||
Loading…
x
Reference in New Issue
Block a user