Skip to content

Commit fefedcb

Browse files
committed
ci(web): disable icon tree shaking and wasm dry-run for web build\n\n- Makefile: flutter build web --no-tree-shake-icons --no-wasm-dry-run\n- release.yml: same flags for CI web build
1 parent ebf52c2 commit fefedcb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: |
3232
make package
3333
# Build Flutter web (hash routing by default works with index.html)
34-
cd frontend && flutter build web --release
34+
cd frontend && flutter build web --release --no-tree-shake-icons --no-wasm-dry-run
3535
3636
- name: Upload artifacts (for debugging)
3737
uses: actions/upload-artifact@v4

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ frontend-dev-web:
7171
cd frontend && flutter run -d chrome
7272

7373
frontend-build-web:
74-
cd frontend && flutter build web --release
74+
cd frontend && flutter build web --release --no-tree-shake-icons --no-wasm-dry-run
7575
rm -rf cmd/network-debugger-web/_web
7676
mkdir -p cmd/network-debugger-web/_web
7777
cp -R frontend/build/web/* cmd/network-debugger-web/_web/

0 commit comments

Comments
 (0)