exhibitionist-digital / ultra

Zero-Legacy Deno/React Suspense SSR Framework

Home Page:https://ultrajs.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build output not compatible with --no-remote

deckchairlabs opened this issue · comments

Not sure if this issue is already being worked on.

The build output from build task in the workspace doesn't run with the --no-remote flag. Looks like deps.js still references remote files.

error: A remote specifier was requested: "https://deno.land/std@0.132.0/http/server.ts", but --no-remote is specified.
    at file:///workspaces/ultra/workspace/.ultra/deps.js:5:23

I think this is expected. Our Ultra vendoring only vendors for front end.

We can get --no-remote working by running...

deno task build 
cd .ultra
deno vendor ULTRA.js
deno run -A --import-map vendor/import_map.json --no-remote ULTRA.js

I think this is just a documentation thing?