<p dir="auto">Alternative to <code class="notranslate">--cached-only</code></p>
<p dir="auto">More generally we need to improve vendoring story and documentation around it.</p>
<p dir="auto">Hi all--</p>
<p dir="auto">Inline with <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="590886556" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/4539" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/4539/hovercard" href="https://github.com/denoland/deno/issues/4539">#4539</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="621722537" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/5665" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/5665/hovercard" href="https://github.com/denoland/deno/issues/5665">#5665</a>, I've discovered when you declare deno-types in an import directive, it causes the <code class="notranslate">Deno.bundle()</code> command to ignore the imports.</p>
<p dir="auto">Gist example: <a href="https://gist.github.com/randallb/745dd7cdd638f0e1018e3875641b542c">https://gist.github.com/randallb/745dd7cdd638f0e1018e3875641b542c</a></p>
<p dir="auto">If I omit the deno-types declaration, it seems to bundle correctly. Might be a dupe of those other issues or might be unrelated, but I figure all three of these usecases would probably be useful to fix at once.</p>