diff --git a/.changeset/tiny-dryers-sneeze.md b/.changeset/tiny-dryers-sneeze.md new file mode 100644 index 00000000..21677e27 --- /dev/null +++ b/.changeset/tiny-dryers-sneeze.md @@ -0,0 +1,7 @@ +--- +'imagetools-core': patch +'rollup-plugin-imagetools': patch +'vite-imagetools': patch +--- + +Fix type resolution by re-adding top-level types field diff --git a/packages/core/package.json b/packages/core/package.json index 00145d1a..8b242914 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,7 @@ { "name": "imagetools-core", "version": "3.2.2", + "types": "dist/index.d.ts", "exports": { "./package.json": "./package.json", ".": { diff --git a/packages/rollup/package.json b/packages/rollup/package.json index 5ae74403..7b52ca1a 100644 --- a/packages/rollup/package.json +++ b/packages/rollup/package.json @@ -1,6 +1,7 @@ { "name": "rollup-plugin-imagetools", "version": "3.0.11", + "types": "dist/index.d.ts", "exports": { "./package.json": "./package.json", ".": { diff --git a/packages/vite/package.json b/packages/vite/package.json index 851d2d60..3117e08e 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -2,6 +2,7 @@ "name": "vite-imagetools", "description": "Load and transform images using a toolbox of import directives!", "version": "4.0.10", + "types": "dist/index.d.ts", "exports": { "./package.json": "./package.json", ".": {