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.

22 lines
329 B

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