Skip to content

Commit b02b758

Browse files
taneltmmrts
authored andcommitted
Fix errors while trying to import the library to an Angular project
WE2-1048 Signed-off-by: Tanel Metsar <[email protected]>
1 parent 57ef222 commit b02b758

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@
1717
"type": "git",
1818
"url": "[email protected]:web-eid/web-eid.js.git"
1919
},
20+
"module": "web-eid.js",
21+
"exports": {
22+
".": {
23+
"browser": "./dist/iife/web-eid.min.js",
24+
"import": "./web-eid.js",
25+
"default": "./dist/iife/web-eid.min.js"
26+
}
27+
},
2028
"files": [
2129
"config.d.ts",
2230
"config.d.ts.map",

0 commit comments

Comments
 (0)