mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Fixed components build. Renamed validations to permissions.
This commit is contained in:
parent
f0ec24e8f5
commit
c916e4ff9c
80 changed files with 99 additions and 373 deletions
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';
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue