@atomico/exports
@atomico/exports aims to be the solution to facilitate the construction of the metadata in your package.json necessary for publishing on NPM or at the monorepo level with workspaces.
Last updated
Was this helpful?
@atomico/exports aims to be the solution to facilitate the construction of the metadata in your package.json necessary for publishing on NPM or at the monorepo level with workspaces.
Last updated
Was this helpful?
Was this helpful?
import { Button } from "components/dist/button.js"; // ❌
import { Button } from "components/button"; // ✅import { Button } from "components/button/react"; npm install -D @atomico/exports{
/**
* ⚠️ The --types flag requires the installation of @typescript
*/
"scripts": {
"exports": "exports dist/**/* types/**/*"
}
}