Fixed components build. Renamed validations to permissions.
This commit is contained in:
15
tsup.config.js
Normal file
15
tsup.config.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import { defineConfig } from 'tsup';
|
||||
|
||||
export default defineConfig({
|
||||
entry: { index: 'src/index.ts' },
|
||||
format: ['esm'],
|
||||
outDir: 'dist',
|
||||
dts: true,
|
||||
splitting: false,
|
||||
sourcemap: false,
|
||||
clean: true,
|
||||
external: ['react', 'react-dom', 'react/jsx-runtime', '@swc/helpers'],
|
||||
esbuildOptions(options) {
|
||||
options.jsx = 'automatic';
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user