mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 20:29:11 +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
13 lines
242 B
HTML
13 lines
242 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Deno bundle HTML</title>
|
|
<script src="./a.ts" type="module" ></script>
|
|
</head>
|
|
<body>
|
|
<noscript>This app requires JavaScript to run.</noscript>
|
|
|
|
</body>
|
|
</html>
|
|
|