mirror of
https://github.com/zoriya/v10.git
synced 2026-08-05 05:37:21 +00:00
26 lines
523 B
TypeScript
26 lines
523 B
TypeScript
import { defineConfig } from 'tsdown';
|
|
|
|
export default defineConfig({
|
|
entry: {
|
|
index: './src/index.ts',
|
|
store: './src/store/index.ts',
|
|
icons: './src/icons/index.ts',
|
|
'skins/frosted': './src/skins/frosted/index.ts',
|
|
'skins/minimal': './src/skins/minimal/index.ts',
|
|
},
|
|
platform: 'browser',
|
|
format: 'es',
|
|
sourcemap: true,
|
|
clean: true,
|
|
alias: {
|
|
'@': new URL('./src', import.meta.url).pathname,
|
|
},
|
|
dts: {
|
|
oxc: true,
|
|
},
|
|
loader: {
|
|
'.svg': 'text',
|
|
'.css': 'text',
|
|
},
|
|
});
|