Skip to content

Commit d8528ed

Browse files
authored
Merge pull request #4 from bestit/bugfix/optimize-package-exports
optimized exports
2 parents 016dabe + ffb2f68 commit d8528ed

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

package.json

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"name": "@best-it/iconly",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "SVG icon system utilising a custom element",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/bestit/iconly.git"
88
},
9-
"author": "best it AG <[email protected]>",
9+
"author": "best it GmbH <[email protected]>",
1010
"contributors": [
1111
{
12-
"name": "best it AG",
12+
"name": "best it GmbH",
1313
"email": "[email protected]"
1414
},
1515
{
@@ -23,12 +23,13 @@
2323
"type": "module",
2424
"types": "./dist/types/index.d.ts",
2525
"exports": {
26-
"import": {
27-
".": "./dist/esm/index.js",
28-
"./src/classes/custom-element": "./src/classes/custom-element.ts"
26+
".": {
27+
"types": "./dist/types/index.d.ts",
28+
"import": "./dist/esm/index.js",
29+
"require": "./dist/commonjs/index.js"
2930
},
30-
"require": "./dist/commonjs/index.js",
31-
"default": "./dist/commonjs/index.js"
31+
"./src": "./src/index.ts",
32+
"./src/*": "./src/*"
3233
},
3334
"files": [
3435
"dist",

0 commit comments

Comments
 (0)