mirror of
https://github.com/hanzoai/insights-js.git
synced 2026-10-30 18:34:19 +00:00
15 lines
376 B
TypeScript
15 lines
376 B
TypeScript
import { defineConfig } from '@rslib/core'
|
|
|
|
export default defineConfig({
|
|
lib: [
|
|
{ format: 'esm', syntax: 'es2023', dts: true, bundle: false },
|
|
{ format: 'cjs', syntax: 'es2023', dts: true, bundle: false },
|
|
],
|
|
source: {
|
|
entry: {
|
|
index: ['src/**/*', '!src/__tests__/**/*', '!src/**/*.spec.ts'],
|
|
},
|
|
tsconfigPath: './tsconfig.build.json',
|
|
},
|
|
})
|