Skip to content

Commit

Permalink
✨ feat: add umd build
Browse files Browse the repository at this point in the history
  • Loading branch information
eternallycyf committed May 5, 2024
1 parent 6ad3139 commit e4d6bd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .fatherrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
});

0 comments on commit e4d6bd1

Please sign in to comment.