Skip to content

Commit

Permalink
fix: ng webpack default import (#8688)
Browse files Browse the repository at this point in the history
Closes #8674
  • Loading branch information
giladgd committed Feb 22, 2022
1 parent 5a71803 commit 2d3374b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions package.json
Expand Up @@ -11,8 +11,15 @@
},
"exports": {
".": {
"import": "./index.mjs",
"require": "./index.js"
"node": {
"import": "./index.mjs",
"require": "./index.js"
},
"browser": {
"require": "./index.js",
"import": "./browser/index.js",
"default": "./index.js"
}
},
"./browser": "./browser/index.js",
"./*.js": "./*.js",
Expand All @@ -24,7 +31,6 @@
"main": "./index.js",
"module": "./index.mjs",
"types": "./index.d.ts",
"type": "commonjs",
"browser": {
"./browser/connection/ConnectionOptionsReader.js": "./browser/platform/BrowserConnectionOptionsReaderDummy.js",
"./browser/connection/options-reader/ConnectionOptionsXmlReader.js": "./browser/platform/BrowserConnectionOptionsReaderDummy.js",
Expand Down

0 comments on commit 2d3374b

Please sign in to comment.