mirror of
https://github.com/status-im/js-waku.git
synced 2025-02-20 17:08:15 +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