🏗️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

Last updated

Was this helpful?