-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
197ce84
commit 60efe9c
Showing
3 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
diff --git a/dist/dexie-react-hooks.mjs b/dist/dexie-react-hooks.mjs | ||
index 7b201dd378e790a3e8de5b4c9d7f2f4b0e5166ff..ae473dc6ad40cbf725ef3d6e9cf59c0436b469a8 100644 | ||
--- a/dist/dexie-react-hooks.mjs | ||
+++ b/dist/dexie-react-hooks.mjs | ||
@@ -1,4 +1,4 @@ | ||
-import { liveQuery, Dexie } from 'dexie'; | ||
+import Dexie, { liveQuery } from 'dexie'; | ||
import React from 'react'; | ||
|
||
function useObservable(observableFactory, arg2, arg3) { | ||
diff --git a/package.json b/package.json | ||
index b98023319abd8c549a67bf28135c948cf86d901c..57256653d199e8781e608966eae78318a8c7d4a8 100644 | ||
--- a/package.json | ||
+++ b/package.json | ||
@@ -3,8 +3,10 @@ | ||
"version": "1.1.7", | ||
"description": "React hooks for reactive data fetching using Dexie.js", | ||
"main": "dist/dexie-react-hooks.js", | ||
+ "module": "dist/dexie-react-hooks.mjs", | ||
"typings": "dist/dexie-react-hooks.d.ts", | ||
"exports": { | ||
+ "types": "./dist/dexie-react-hooks.d.ts", | ||
"import": "./dist/dexie-react-hooks.mjs", | ||
"require": "./dist/dexie-react-hooks.js", | ||
"default": "./dist/dexie-react-hooks.js" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.