mirror of
https://github.com/zoriya/v10.git
synced 2026-08-07 14:48:09 +00:00
24 lines
520 B
TypeScript
24 lines
520 B
TypeScript
import { defineConfig } from 'tsdown';
|
|
|
|
export default defineConfig({
|
|
entry: {
|
|
array: './src/array/index.ts',
|
|
dom: './src/dom/index.ts',
|
|
events: './src/events/index.ts',
|
|
function: './src/function/index.ts',
|
|
object: './src/object/index.ts',
|
|
predicate: './src/predicate/index.ts',
|
|
types: './src/types/index.ts',
|
|
},
|
|
platform: 'neutral',
|
|
format: 'es',
|
|
sourcemap: true,
|
|
clean: true,
|
|
alias: {
|
|
'@': new URL('./src', import.meta.url).pathname,
|
|
},
|
|
dts: {
|
|
oxc: true,
|
|
},
|
|
});
|