Exporting a pure sub-entry
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.