Skip to content

Exporting a pure sub-entry

Compare
Choose a tag to compare
@jacksteamdev jacksteamdev released this 14 Jan 21:09

The default entry point accesses the Chrome API object upon entry to initialize the default storage buckets. This won't work if you are writing code that may run outside of a Chrome extension. OFC, this library won't work at all if chrome.storage isn't available, but now you can import from @extend-chrome/storage/lib/bucket and it won't crash everything.