mirror of https://github.com/status-im/js-waku.git
Add netlify config
This commit is contained in:
parent
faf5f46a35
commit
c7ffdda926
|
@ -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…
Reference in New Issue