commit d3427c993a6595112298759ede4a32e0476e78a7 parent 1e7b5a238375b04876d0d4fb66937e9c787a4b9f Author: Marcel <mtrnord1@gmail.com> Date: Fri, 3 Jul 2020 20:39:21 +0200 Add netlify.toml Took 7 minutes Diffstat:
| A | netlify.toml | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/netlify.toml b/netlify.toml @@ -0,0 +1,11 @@ +# Settings in the [build] context are global and are applied to all contexts +# unless otherwise overridden by more specific contexts. +[build] + # Directory that contains the deploy-ready HTML files and assets generated by + # the build. This is relative to the base directory if one has been set, or the + # root directory if a base has not been set. This sample publishes the + # directory located at the absolute path "root/project/build-output" + publish = "dist/" + + # Default build command. + command = "(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y) && rustup target add wasm32-unknown-unknown && export PATH=$PATH:/opt/buildhome/.cargo/bin && yarn run build"