Skip to content

Commit

Permalink
Update devtools_options.yaml, netlify.toml, pubspec.lock, pubspec.yam…
Browse files Browse the repository at this point in the history
…l, web/index.html, and web/zoom.js
  • Loading branch information
c3k4ah committed May 1, 2024
1 parent 8dc8609 commit d00a9c1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 16 deletions.
1 change: 1 addition & 0 deletions devtools_options.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
extensions:
- provider: false
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package = "netlify-plugin-flutter"
[plugins.inputs]
channel = "stable"
[build]
command = "flutter build web --web-renderer html"
command = "flutter build web --release --web-renderer html"
publish = "build/web"
6 changes: 3 additions & 3 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -539,13 +539,13 @@ packages:
source: hosted
version: "2.1.4"
web:
dependency: "direct overridden"
dependency: transitive
description:
name: web
sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27"
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
url: "https://pub.dev"
source: hosted
version: "0.5.1"
version: "0.3.0"
win32:
dependency: transitive
description:
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ dependencies:
# theme_provider: ^0.6.0
# flutter_speed_dial: ^7.0.0

dependency_overrides:
web: ^0.5.1
# dependency_overrides:
# web: ^0.5.1

dev_dependencies:
flutter_test:
Expand Down
5 changes: 4 additions & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@
serviceWorkerVersion: serviceWorkerVersion,
},
onEntrypointLoaded: function(engineInitializer) {
engineInitializer.initializeEngine().then(function(appRunner) {
let config = {
renderer:"html" ,
};
engineInitializer.initializeEngine(config).then(function(appRunner) {
appRunner.runApp();
});
}
Expand Down
9 changes: 0 additions & 9 deletions web/zoom.js

This file was deleted.

0 comments on commit d00a9c1

Please sign in to comment.