Skip to content

Commit 96648bb

Browse files
fix(unlazy): use .d.ts for legacy moduleResolution support (fixes #66)
1 parent f979f80 commit 96648bb

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

packages/core/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@unlazy/core",
33
"type": "module",
44
"version": "0.12.4",
5-
"packageManager": "pnpm@10.15.1",
5+
"packageManager": "pnpm@10.18.3",
66
"description": "Universal lazy loading library for placeholder images leveraging native browser APIs",
77
"author": "Johann Schopplich <hello@johannschopplich.com>",
88
"license": "MIT",
@@ -27,7 +27,7 @@
2727
"sideEffects": false,
2828
"exports": {
2929
".": {
30-
"types": "./dist/index.d.mts",
30+
"types": "./dist/index.d.ts",
3131
"import": {
3232
"types": "./dist/index.d.mts",
3333
"default": "./dist/index.mjs"
@@ -39,7 +39,7 @@
3939
"default": "./dist/index.mjs"
4040
},
4141
"./blurhash": {
42-
"types": "./dist/blurhash.d.mts",
42+
"types": "./dist/blurhash.d.ts",
4343
"import": {
4444
"types": "./dist/blurhash.d.mts",
4545
"default": "./dist/blurhash.mjs"
@@ -51,7 +51,7 @@
5151
"default": "./dist/blurhash.mjs"
5252
},
5353
"./thumbhash": {
54-
"types": "./dist/thumbhash.d.mts",
54+
"types": "./dist/thumbhash.d.ts",
5555
"import": {
5656
"types": "./dist/thumbhash.d.mts",
5757
"default": "./dist/thumbhash.mjs"

packages/unlazy/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "unlazy",
33
"type": "module",
44
"version": "0.12.4",
5-
"packageManager": "pnpm@10.15.1",
5+
"packageManager": "pnpm@10.18.3",
66
"description": "Universal lazy loading library for placeholder images leveraging native browser APIs",
77
"author": "Johann Schopplich <hello@johannschopplich.com>",
88
"license": "MIT",
@@ -27,7 +27,7 @@
2727
"sideEffects": false,
2828
"exports": {
2929
".": {
30-
"types": "./dist/index.d.mts",
30+
"types": "./dist/index.d.ts",
3131
"import": {
3232
"types": "./dist/index.d.mts",
3333
"default": "./dist/index.mjs"
@@ -39,7 +39,7 @@
3939
"default": "./dist/index.mjs"
4040
},
4141
"./blurhash": {
42-
"types": "./dist/blurhash.d.mts",
42+
"types": "./dist/blurhash.d.ts",
4343
"import": {
4444
"types": "./dist/blurhash.d.mts",
4545
"default": "./dist/blurhash.mjs"
@@ -51,7 +51,7 @@
5151
"default": "./dist/blurhash.mjs"
5252
},
5353
"./thumbhash": {
54-
"types": "./dist/thumbhash.d.mts",
54+
"types": "./dist/thumbhash.d.ts",
5555
"import": {
5656
"types": "./dist/thumbhash.d.mts",
5757
"default": "./dist/thumbhash.mjs"

0 commit comments

Comments
 (0)