mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-10-14 02:48:06 +08:00
25 lines
635 B
TypeScript
25 lines
635 B
TypeScript
import { defineConfig } from 'tsup';
|
|
|
|
export default defineConfig({
|
|
entry: [
|
|
'src/index.ts',
|
|
'src/registerBuilder.ts',
|
|
'src/registerMethods.ts',
|
|
'src/registerType.ts',
|
|
'src/features/viteHtml.ts',
|
|
'src/features/viteOption.ts',
|
|
'src/features/viteVueJsx.ts',
|
|
'src/features/viteVuePlugin.ts',
|
|
'src/features/viteAnalyze.ts',
|
|
'src/features/viteLegacy.ts',
|
|
'src/commands/build/index.ts',
|
|
'src/commands/dev/index.ts',
|
|
],
|
|
splitting: false,
|
|
sourcemap: false,
|
|
clean: true,
|
|
dts: true,
|
|
shims: true,
|
|
format: ['esm'],
|
|
});
|