spacedrive/packages/ui/tsup.config.ts
Jamie Pine cdc770c802 Revert "Fix tailwind config and add sass dependency"
This reverts commit 792d112d1c8b2cf4e6d87f3a8098f09488947d8e.
2025-12-02 14:29:16 -08:00

32 lines
572 B
TypeScript

import { defineConfig } from 'tsup';
export default defineConfig({
entry: ['src/index.ts', 'src/forms/index.ts'],
format: ['esm'],
dts: false,
clean: true,
external: [
'react',
'react-dom',
'react-router-dom',
'@jamiepine/assets',
'zod',
'clsx',
'class-variance-authority',
'react-hook-form',
'valtio',
'rooks',
'@zxcvbn-ts/core',
'@zxcvbn-ts/language-en',
'@zxcvbn-ts/language-common'
],
noExternal: [],
bundle: true,
splitting: false,
treeshake: true,
sourcemap: true,
esbuildOptions(options) {
options.jsx = 'automatic';
}
});