Skip to content

Commit

Permalink
Build web: Tue Oct 1 08:28:51 PM PDT 2024
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Nijmeh <[email protected]>
  • Loading branch information
tytydraco committed Oct 2, 2024
1 parent 94ae4c2 commit c39fa88
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 6 deletions.
2 changes: 1 addition & 1 deletion basil.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ basil:
cmds: [ 'flutter pub run icons_launcher:create' ]
build:
cmds:
- 'flutter build web --release --web-renderer html -base-href "/build/web/"'
- 'flutter build web --release --web-renderer html --base-href "/build/web/"'
publish:
cmds:
- 'git add -f build/web/'
Expand Down
2 changes: 1 addition & 1 deletion build/web/.last_build_id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
48eb26cc35ff0295e98c80dbb4ec1af9
e9ea8d08209d5e5e95a26226205e2b37
2 changes: 1 addition & 1 deletion build/web/flutter_bootstrap.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions build/web/flutter_service_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ const RESOURCES = {"canvaskit/profiling/canvaskit.js": "c21852696bc1cc82e8894d85
"icons/Icon-maskable-512.png": "25413c989e9c1b460d72d2f0ea46081d",
"manifest.json": "b7a989c3dfb762f189887089ba69a55a",
"flutter.js": "f31737fb005cd3a3c6bd9355efd33061",
"index.html": "52d340d12419e86d97853ec24e51012a",
"/": "52d340d12419e86d97853ec24e51012a",
"main.dart.js": "b55677a7a165e4af3b26a7d1f02c2410",
"flutter_bootstrap.js": "c5a8b25a8ee4a00f844ae9feb48b9438"};
"flutter_bootstrap.js": "2d2e92aee9790f85c8e3bd6595595e28",
"index.html": "315dec388812899d20c504f623d08a64",
"/": "315dec388812899d20c504f623d08a64"};
// The application shell files that are downloaded before a service worker can
// start.
const CORE = ["main.dart.js",
Expand Down
58 changes: 58 additions & 0 deletions build/web/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<!DOCTYPE html>
<html>
<head>
<!--
If you are serving your web app in a path other than the root, change the
href value below to reflect the base path you are serving from.
The path provided below has to start and end with a slash "/" in order for
it to work correctly.
For more details:
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
This is a placeholder for base href that will be replaced by the value of
the `--base-href` argument provided to `flutter build`.
-->
<base href="/build/web/">

<meta charset="UTF-8">
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
<meta name="description" content="The Flutter frontend app for the tytydraco.xyz website.">

<!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="tytydraco_xyz">
<link rel="apple-touch-icon" href="icons/Icon-192.png">

<!-- Favicon -->
<link rel="icon" type="image/png" href="favicon.png"/>

<title>tytydraco_xyz</title>
<link rel="manifest" href="manifest.json">

<script>
// The value below is injected by flutter build, do not touch.
const serviceWorkerVersion = "3296469897";
</script>
<!-- This script adds the flutter initialization JS code -->
<script src="flutter.js" defer></script>
</head>
<body>
<script>
window.addEventListener('load', function(ev) {
// Download main.dart.js
_flutter.loader.loadEntrypoint({
serviceWorker: {
serviceWorkerVersion: serviceWorkerVersion,
}
}).then(function(engineInitializer) {
return engineInitializer.initializeEngine();
}).then(function(appRunner) {
return appRunner.runApp();
});
});
</script>
</body>
</html>

0 comments on commit c39fa88

Please sign in to comment.