21.diff (1003B)
1 diff --git a/.gitignore b/.gitignore 2 index 8c0efff..3431243 100644 3 --- a/.gitignore 4 +++ b/.gitignore 5 @@ -8,3 +8,4 @@ wasm-pack.log 6 node_modules 7 cypress/videos 8 cypress/screenshots 9 + 10 diff --git a/netlify.toml b/netlify.toml 11 new file mode 100644 12 index 0000000..0acad41 13 --- /dev/null 14 +++ b/netlify.toml 15 @@ -0,0 +1,11 @@ 16 +# Settings in the [build] context are global and are applied to all contexts 17 +# unless otherwise overridden by more specific contexts. 18 +[build] 19 + # Directory that contains the deploy-ready HTML files and assets generated by 20 + # the build. This is relative to the base directory if one has been set, or the 21 + # root directory if a base has not been set. This sample publishes the 22 + # directory located at the absolute path "root/project/build-output" 23 + publish = "dist/" 24 + 25 + # Default build command. 26 + 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"