Skip to content

Commit f14097f

Browse files
committed
chore: cloudflare deploy
1 parent 5c89837 commit f14097f

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

build.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
set -e
3+
4+
# Install Flutter
5+
git clone https://github.com/flutter/flutter.git --depth 1 -b stable flutter
6+
export PATH="$PATH:$(pwd)/flutter/bin"
7+
8+
flutter pub get
9+
flutter build web --release

wrangler.jsonc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "ymapper",
3+
"compatibility_date": "2025-01-01",
4+
"assets": {
5+
"directory": "./build/web",
6+
"not_found_handling": "single-page-application"
7+
}
8+
}

0 commit comments

Comments
 (0)