mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-16 04:02:15 +01:00
fix ui exports, change api package bunder to vite, fix type exports
This commit is contained in:
16
resources/js/packages/api/vite.config.js
Normal file
16
resources/js/packages/api/vite.config.js
Normal 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',
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user