Skip to content

Commit

Permalink
fix: force web bundlers to ignore index.mjs and use the browser ESM v…
Browse files Browse the repository at this point in the history
…ersion directly (#8710)

Closes #8709
  • Loading branch information
giladgd committed Mar 1, 2022
1 parent 10f46d9 commit 411fa54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -51,7 +51,8 @@
"./browser/platform/PlatformTools.js": "./browser/platform/BrowserPlatformTools.js",
"./browser/repository/MongoRepository.js": "./browser/platform/BrowserDisabledDriversDummy.js",
"./browser/util/DirectoryExportedClassesLoader.js": "./browser/platform/BrowserDirectoryExportedClassesLoader.js",
"./index.js": "./browser/index.js"
"./index.js": "./browser/index.js",
"./index.mjs": "./browser/index.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 411fa54

Please sign in to comment.