Skip to content

Commit

Permalink
Replace package.json exports "import" by "default"
Browse files Browse the repository at this point in the history
  • Loading branch information
dimsemenov authored Aug 29, 2022
2 parents e5990aa + f0db65c commit 1b74c5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"exports": {
".": {
"types": "./dist/types/photoswipe.d.ts",
"import": "./dist/photoswipe.esm.js"
"default": "./dist/photoswipe.esm.js"
},
"./lightbox": {
"types": "./dist/types/lightbox/lightbox.d.ts",
"import": "./dist/photoswipe-lightbox.esm.js"
"default": "./dist/photoswipe-lightbox.esm.js"
},
"./dist/photoswipe.css": "./dist/photoswipe.css",
"./photoswipe.css": "./dist/photoswipe.css",
Expand Down

0 comments on commit 1b74c5b

Please sign in to comment.