Skip to content

v111

Compare
Choose a tag to compare
@ije ije released this 06 Mar 04:43
· 1111 commits to main since this release
  • Print package deprecated message
    Screenshot 2023-03-06 at 12 29 31
  • 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]".