Handle browser/node envs

Signed-off-by: James Zuccon <zuccon@gmail.com>
This commit is contained in:
James Zuccon
2024-09-13 07:54:24 +10:00
parent 2c9812200d
commit d9609e5b9f
14 changed files with 1211 additions and 307 deletions
+5
View File
@@ -0,0 +1,5 @@
// Export modules that work across all platforms.
export * from './index.js';
// These exports will only work in a browser environment.
export * from './storage/storage-idb.js';