-
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
Showing
9 changed files
with
186 additions
and
106 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
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 |
---|---|---|
@@ -1,11 +1,14 @@ | ||
// Export for the types | ||
export {IDynaDiskMemory, IDynaDiskMemoryConfig} from './interfaces'; | ||
export { | ||
IDynaDiskMemory, | ||
IDynaDiskMemoryConfig, | ||
} from './interfaces'; | ||
export * from "./DynaDiskMemoryForNode"; | ||
|
||
console.error(` | ||
dyna-disk-memory: Import error | ||
You should import "dyna-disk-memory/dist/commonJs/web" or "dyna-disk-memory/dist/commonJs/node" (with lazy load or not) according the runtime environment. | ||
There is also am es version instead of commonJs, there imports are "dyna-disk-memory/dist/esNext/web" and "dyna-disk-memory/dist/esNext/node". | ||
There is also am es version instead of commonJs, there imports are "dyna-disk-memory/dist/esNext/web" and "dyna-disk-memory/dist/esNext/node". | ||
For typescript, you should import the types from "dyna-disk-memory" but functional code from "web" or "node" versions. | ||
More for how to import with conditional lazy load: https://github.com/aneldev/dyna-ts-module-boilerplate#how-to-import | ||
`); |
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
Oops, something went wrong.