前回
作ったYewのアプリをAmplifyでホスティングできたのでamplify.ymlを公開しておきます
version: 1 frontend: phases: preBuild: commands: - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - source ~/.cargo/env - cargo install --locked trunk - rustup target add wasm32-unknown-unknown build: commands: - trunk build --release artifacts: baseDirectory: dist files: - "**/*" cache: paths: - target/**/*