fix ui exports, change api package bunder to vite, fix type exports

This commit is contained in:
Gregor Vostrak
2024-08-22 15:39:04 +02:00
parent 35c65d3bf0
commit 1328692faf
8 changed files with 1965 additions and 95 deletions

View File

@@ -0,0 +1,16 @@
import { resolve } from 'path'
import { defineConfig } from 'vite'
import dts from "vite-plugin-dts";
export default defineConfig({
plugins: [dts()],
build: {
lib: {
// Could also be a dictionary or array of multiple entry points
entry: resolve(__dirname, 'src/index.ts'),
name: 'SolidtimeApi',
// the proper extensions will be added
fileName: 'solidtime-api',
},
},
})