diff --git a/.fatherrc.ts b/.fatherrc.ts index 90d9aea..c71bd19 100644 --- a/.fatherrc.ts +++ b/.fatherrc.ts @@ -3,5 +3,6 @@ import { defineConfig } from 'father'; export default defineConfig({ cjs: { output: 'lib', platform: 'browser' }, esm: { output: 'es' }, + umd: { output: 'dist' }, extraBabelPlugins: ['add-module-exports'], });