You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
349 B

2 years ago
2 years ago
2 years ago
  1. import { defineConfig } from 'father';
  2. export default defineConfig({
  3. esm: {
  4. input: 'src',
  5. platform: 'browser',
  6. transformer: 'esbuild',
  7. output: 'es',
  8. },
  9. extraBabelPlugins: [
  10. [
  11. 'babel-plugin-import',
  12. {
  13. libraryName: 'antd',
  14. libraryDirectory: 'es',
  15. style: true,
  16. },
  17. ],
  18. ],
  19. });