v111
- Print package
deprecated
message
- Remove source map URL of worker
- Fix package CSS redirects with
target
option - Fix build dead-loop for some edge cases
- Fix CLI
update
command (close #536)
CDN Update
Before when you import a module without specifying the package version like "https://esm.sh/react", it will redirect to latest version like "https://esm.sh/[email protected]", that means it needs to ask the NPM registry what the latest version of the package every time, in v111 we added a cache layer for the NPM registry to improve the redirect response time. Since we set the cache TTL to 10 minutes, so you may get the delay of the package latest update, but for a CDN the response time is the most important care-thing, the best practice is always point out the full version of packages like "https://esm.sh/[email protected]".