You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the things I work on are HTML reports. These are completely self contained HTML files (excluding CDNs for CSS). I've been thinking about migrating these reports to go-app.
Go-app seems to generate quite a few files (wasm, js, css, html), which need to be served by either a server or an s3-compatible bucket.
Is there a way to embed all of the artifacts from go-app into a single HTML file?
I know its technically possible from this thread, to convert the wasm file to base64 then inject it into the HTML. I was wondering if go-app has functionality for the same output.
The text was updated successfully, but these errors were encountered:
. # Current dir.
├── app-worker.js # Service-worker file (Generated).
├── app.js # Js support file (Generated).
├── index.html # Index page (Generated from "/").
├── hello.html # hello page (Generated from "/hello").
├── manifest.webmanifest # PWA manifest (Generated).
├── wasm_exec.js # Wasm support file (Generated).
└── web # Web directory.
└── app.wasm # Wasm app (Manually built).
What I'm asking is a way for the peripheral files to all be embedded into a single index.html, which allows a user to open the HTML report locally without the need for a server to serve the files.
Hi,
One of the things I work on are HTML reports. These are completely self contained HTML files (excluding CDNs for CSS). I've been thinking about migrating these reports to go-app.
Go-app seems to generate quite a few files (wasm, js, css, html), which need to be served by either a server or an s3-compatible bucket.
Is there a way to embed all of the artifacts from go-app into a single HTML file?
I know its technically possible from this thread, to convert the wasm file to base64 then inject it into the HTML. I was wondering if go-app has functionality for the same output.
The text was updated successfully, but these errors were encountered: