diff --git a/docs/docs/react/components/AspectRatio.mdx b/docs/docs/react/components/AspectRatio.mdx index c0a0cf8c..a9d31677 100644 --- a/docs/docs/react/components/AspectRatio.mdx +++ b/docs/docs/react/components/AspectRatio.mdx @@ -1,5 +1,5 @@ import { useState } from 'react'; -import { AspectRatio } from '@modern-kit/react' +import { AspectRatio } from '@modern-kit/react'; # AspectRatio diff --git a/packages/react/package.json b/packages/react/package.json index bf597566..9b4dc65d 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -73,40 +73,15 @@ "require": "./dist/index.js", "import": "./dist/index.mjs" }, - "./dist": { + "./dist/*": { "types": "./dist/*", "require": "./dist/*", "import": "./dist/*" }, - "./components": { - "types": "./dist/components/index.d.ts", - "require": "./dist/components/index.js", - "import": "./dist/components/index.mjs" - }, - "./utils": { - "types": "./dist/utils/index.d.ts", - "require": "./dist/utils/index.js", - "import": "./dist/utils/index.mjs" - }, - "./hooks": { - "types": "./dist/hooks/index.d.ts", - "require": "./dist/hooks/index.js", - "import": "./dist/hooks/index.mjs" - }, - "./components/*": { - "types": "./dist/components/*/index.d.ts", - "require": "./dist/components/*/index.js", - "import": "./dist/components/*/index.mjs" - }, - "./hooks/*": { - "types": "./dist/hooks/*/index.d.ts", - "require": "./dist/hooks/*/index.js", - "import": "./dist/hooks/*/index.mjs" - }, - "./utils/*": { - "types": "./dist/utils/*/index.d.ts", - "require": "./dist/utils/*/index.js", - "import": "./dist/utils/*/index.mjs" + "./*": { + "types": "./dist/*/index.d.ts", + "require": "./dist/*/index.js", + "import": "./dist/*/index.mjs" }, "./package.json": "./package.json" },