The compiled code will be saved in
$DENO_DIR/gen
$DENO_DIR
location changes based on the operating system
To verify the location, run:
deno info
This will display:
DENO_DIR location: "/home/user/.cache/deno"
Remote modules cache: "/home/user/.cache/deno/deps"
TypeScript compiler cache: "/home/user/.cache/deno/gen"
If you import the following import
:
import { serve } from 'https://deno.land/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="215255456157110f14100f11">[email protected]</a>/http/server.ts'
You'll find the compiled JavaScript code at:
$DENO_DIR/gen/https/deno.land/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="f7848393b781c7d9c2c6d9c7">[email protected]</a>/http
Execute:
ls $DENO_DIR/gen/https/deno.land/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="3e4d4a5a7e480e100b0f100e">[email protected]</a>/http
Results would include:
http_status.ts.js
http_status.ts.js.map
http_status.ts.meta
_io.ts.js
_io.ts.js.map
_io.ts.meta
server.ts.js
server.ts.js.map
server.ts.meta