-
Notifications
You must be signed in to change notification settings - Fork 173
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
2 changed files
with
4 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,10 @@ | ||
diff --git a/lib/platform/package.json b/lib/platform/package.json | ||
index 5ea9d43740d1bdb509612376c0e9ce91d20f8b20..7d00a69cb6cda12b8b69ebb0274c43946030b830 100644 | ||
index 5ea9d43740d1bdb509612376c0e9ce91d20f8b20..08d4f7327dee5e605107a343d73b2254ed08ddb9 100644 | ||
--- a/lib/platform/package.json | ||
+++ b/lib/platform/package.json | ||
@@ -1,4 +1,11 @@ | ||
@@ -1,4 +1,4 @@ | ||
{ | ||
- "main": "./node", | ||
+ "main": "./node.js", | ||
+ "exports": { | ||
+ ".": { | ||
+ "browser": "./browser.mjs", | ||
+ "require": "./node.js", | ||
+ "default": "./node.mjs" | ||
+ } | ||
+ }, | ||
"browser": "./browser" | ||
} |
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