mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 17:45:38 +01:00
Updated components build.
This commit is contained in:
parent
5f27ba149b
commit
56af91950a
53 changed files with 942 additions and 333 deletions
23
tsup.config.ts
Normal file
23
tsup.config.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { defineConfig } from 'tsup';
|
||||
|
||||
export default defineConfig([
|
||||
{
|
||||
entry: { index: 'src/index.client.ts' },
|
||||
format: ['esm'],
|
||||
outDir: 'dist/client',
|
||||
dts: true,
|
||||
splitting: false,
|
||||
sourcemap: false,
|
||||
clean: true,
|
||||
external: ['react', 'react-dom', 'react/jsx-runtime'],
|
||||
},
|
||||
{
|
||||
entry: { index: 'src/index.server.ts' },
|
||||
format: ['esm'],
|
||||
outDir: 'dist/server',
|
||||
dts: true,
|
||||
splitting: false,
|
||||
sourcemap: false,
|
||||
clean: true,
|
||||
},
|
||||
]);
|
||||
Loading…
Add table
Add a link
Reference in a new issue