mirror of
https://github.com/hanzoai/o11y-components.git
synced 2026-10-30 14:54:15 +00:00
* refactor: update button and input packages to use tsup for builds to fix the consumption issue - Changed build scripts in button and input packages from vite to tsup. - Removed vite.config.ts files as they are no longer needed. - Updated package.json files to reflect the new build process and dependencies. - Ensured consistency in the structure and formatting of the package files. * chore: disable source map and enable splitting * chore: remove the unnecessary esbuildOptions * fix: make the changes to generate tsup.config.ts while building a new component
14 lines
240 B
TypeScript
14 lines
240 B
TypeScript
import { defineConfig } from 'tsup';
|
|
|
|
export default defineConfig({
|
|
entry: ['src/input.tsx'],
|
|
format: ['esm'],
|
|
dts: true,
|
|
splitting: true,
|
|
sourcemap: false,
|
|
clean: true,
|
|
treeshake: true,
|
|
external: ['react'],
|
|
injectStyle: true,
|
|
});
|