-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: Annotate the CommonJS export names for ESM import in Node
* we need to build commonjs module as `browser` to avoid nanoid using crypto module which is native node.js module * instead of that we want to use web crypto api * using `platform:browser` bundler finds right export from nanoid and use it * but for this platform bundler did not annotate the commonjs export so we must do it manually
- Loading branch information
Showing
2 changed files
with
19 additions
and
25 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