diff --git a/package.json b/package.json index 99a6fc3..e334353 100644 --- a/package.json +++ b/package.json @@ -13,20 +13,20 @@ "type": "git", "url": "git+ssh://git@github.com/portabletext/react-portabletext.git" }, - "license": "MIT", "author": "Sanity.io ", + "license": "MIT", "sideEffects": false, "type": "module", + "main": "./dist/index.js", "exports": { ".": "./src/index.ts", "./package.json": "./package.json" }, - "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ - "dist", - "!dist/stats.html" + "!dist/stats.html", + "dist" ], "scripts": { "build": "tsdown", diff --git a/src/types.ts b/src/types.ts index 278e4f0..68acc89 100644 --- a/src/types.ts +++ b/src/types.ts @@ -281,10 +281,10 @@ export interface PortableTextMarkComponentProps