Skip to content

Commit 22622e5

Browse files
committed
fix exports in package json to make it work
1 parent 3afc6ed commit 22622e5

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

package.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
{
22
"name": "@coin-mirror/react-lazy-image",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"private": false,
5-
"description": "Lazy-load images, only when they are visible.",
6-
"module": "src/index.tsx",
7-
"main": "dist/index.js",
8-
"types": "dist/index.d.ts",
5+
"description": "Simple react component to lazy-load images when they are visible. With support for blurhash.",
6+
"exports": "./dist/index.js",
7+
"types": "./dist/index.d.ts",
8+
"main": "./dist/index.js",
99
"type": "module",
1010
"license": "MIT",
1111
"author": "Maximilian Pfennig <[email protected]>",
1212
"repository": "https://github.com/coin-mirror/react-lazy-image",
13+
"bugs": {
14+
"url": "https://github.com/coin-mirror/react-lazy-image/issues",
15+
"email": "[email protected]"
16+
},
1317
"devDependencies": {
1418
"@types/bun": "latest",
1519
"@types/react": "^18.3.12"

src/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use client";
2-
31
import {
42
type MouseEventHandler,
53
useEffect,

0 commit comments

Comments
 (0)