js-waku/netlify.toml

22 lines
335 B
TOML
Raw Normal View History

2021-05-10 11:02:24 +00:00
[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