kt3k / packup

📦 Zero-config web application packager for Deno
https://packup.deno.dev/
MIT License
328 stars 18 forks source link

packup -h is very slow #19

Closed kt3k closed 3 years ago

kt3k commented 3 years ago

seems like deno is requesting items in network unnecessarily when it's passed --allow-net permission. If I don't pass --allow-net, it's fast like 300ms.

kt3k commented 3 years ago

with -Ldebug flag, it stops at DEBUG RS - deno::file_fetcher:310 - FileFetcher::fetch_cached - specifier: https://deno.land/x/packup@v0.1.5/vendor/sass/sass.js

probably sass.js loading is super slow

kt3k commented 3 years ago

solved by the workaround https://github.com/kt3k/packup/commit/e73d183f3179cce6b94e0407bcbadce2d8ab5942

something's wrong with deno module resolver