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
Tw1N88 authored Aug 25, 2022
1 parent e5990aa commit f0db65c
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 f0db65c

Please sign in to comment.