Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: 现在版本的father支持配置inlineLimit吗 #810

@zbn1120

Description

@zbn1120

What problem does this feature solve?

目标是想把svg内联进js中,father版本4.1.5

// .fatherrc.ts
export default {
  // ...
  assets: {
    inlineLimit: 10000, // 10kb 以下的 svg 会被 data url 内联
  },
};

### Possible Solution (optional)

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions