mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00

For instance `deno bundle --outdir dist index.html` It will find scripts referenced in the html, bundle them, and then update the paths in index.html for the bundled assets. Right now it doesn't handle other assets (from `link` elements), but it could
3 lines
96 B
TypeScript
3 lines
96 B
TypeScript
import "./style.css";
|
|
|
|
document.body.insertAdjacentHTML("beforeend", "<h1>Hello, world!</h1>");
|