20.diff (819B)
1 diff --git a/netlify.toml b/netlify.toml 2 new file mode 100644 3 index 0000000..0acad41 4 --- /dev/null 5 +++ b/netlify.toml 6 @@ -0,0 +1,11 @@ 7 +# Settings in the [build] context are global and are applied to all contexts 8 +# unless otherwise overridden by more specific contexts. 9 +[build] 10 + # Directory that contains the deploy-ready HTML files and assets generated by 11 + # the build. This is relative to the base directory if one has been set, or the 12 + # root directory if a base has not been set. This sample publishes the 13 + # directory located at the absolute path "root/project/build-output" 14 + publish = "dist/" 15 + 16 + # Default build command. 17 + command = "(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y) && source $HOME/.cargo/env && rustup target add wasm32-unknown-unknown && yarn run build"