first commit

This commit is contained in:
2026-07-18 01:34:52 +05:30
commit d1308bf149
113 changed files with 20593 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import { defineConfig } from 'tsup';
export default defineConfig({
entry: ['src/index.ts'],
format: ['esm', 'cjs'],
dts: true,
sourcemap: true,
clean: true,
treeshake: true,
splitting: false,
external: ['react', 'react-dom'],
// CSS is shipped separately (copied in the build script) so any consumer
// can `import '@photo-gallery/sdk/styles.css'` regardless of their bundler.
});