Skip to content

Commit

Permalink
chore: Example (wasm)
Browse files Browse the repository at this point in the history
  • Loading branch information
AmosHuKe committed Oct 16, 2024
1 parent 6583b55 commit 077a1c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy_github_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
run: |
flutter --version
flutter pub get
- name: Build web (CanvasKit)
- name: Build web (wasm)
run: |
cd example
flutter build web --web-renderer canvaskit --release
flutter build web --wasm --release
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.0.0+1
version: 1.0.1+2

environment:
sdk: '>=2.19.0 <4.0.0'
Expand Down
1 change: 0 additions & 1 deletion example/web/flutter_bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
_flutter.loader.load({
config: {
assetBase: '/flutter_mosaic/',
renderer: 'canvaskit',
canvasKitVariant: 'full',
canvasKitBaseUrl: '/flutter_mosaic/canvaskit/'
},
Expand Down

0 comments on commit 077a1c5

Please sign in to comment.