<p dir="auto">Hi. I would like to have something like this to load relative modules in the context of a NPM package:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import foo from &quot;npm:./foo&quot;;"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">foo</span> <span class="pl-k">from</span> <span class="pl-s">"npm:./foo"</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">This would be useful to load npm packages that need some tweaks to work in Deno. I think it's not possible right now.</p>
<p dir="auto">My Observation:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="kar@earth:~/my/projects/guix-pkg-search$ deno compile main.js 
Check file:///home/kar/my/projects/guix-pkg-search/main.js
Compile file:///home/kar/my/projects/guix-pkg-search/main.js
Emit guix-pkg-search
kar@earth:~/my/projects/guix-pkg-search$ du -sh guix-pkg-search 
94M	guix-pkg-search
kar@earth:~/my/projects/guix-pkg-search$ strip guix-pkg-search 
kar@earth:~/my/projects/guix-pkg-search$ du -sh guix-pkg-search 
65M	guix-pkg-search"><pre class="notranslate">kar@earth:<span class="pl-k">~</span>/my/projects/guix-pkg-search$ deno compile main.js 
Check file:///home/kar/my/projects/guix-pkg-search/main.js
Compile file:///home/kar/my/projects/guix-pkg-search/main.js
Emit guix-pkg-search
kar@earth:<span class="pl-k">~</span>/my/projects/guix-pkg-search$ du -sh guix-pkg-search 
94M	guix-pkg-search
kar@earth:<span class="pl-k">~</span>/my/projects/guix-pkg-search$ strip guix-pkg-search 
kar@earth:<span class="pl-k">~</span>/my/projects/guix-pkg-search$ du -sh guix-pkg-search 
65M	guix-pkg-search</pre></div>
<p dir="auto">If possible, Please add an optional feature with <code class="notranslate">--strip</code> flag to <code class="notranslate">deno compile</code> to enable stripping of the output binary</p>