🏗️Compile your code to be distributed optimally as a package.
npx library src/**/*
the above script will send all files found in the src
folder to vite, example output:
# Input # Output
/src /lib
/my-component-1.tsx /my-component-1.js
/my-component-2.tsx /my-component-2.tsx
/my-component-3.tsx /my-component-3.tsx
This script can be combined with @atomico/exports to improve the generation of your package.json
PreviousProcess CSS tag template blocks with PostCSS.NextUse the JSX/TSX syntax of Atomico when using Storybook.
Last updated
Was this helpful?