Skip to content

v1.1.0

Choose a tag to compare

@buddywang buddywang released this 17 Jul 07:47
· 11 commits to main since this release
  • Convert the directory structure into json data containing specific file paths.
  • By default, a static path is returned, and dynamic import can be returned by specifying a lazy query.
  • Support custom file format filtering through query or options, ext and extgquery will override the default supported ext list.
  • add test code
  • refactor code
    // zh
  • 将目录结构转换为包含指定后缀格式的文件路径的 JSON 数据
  • 默认返回静态路径,支持通过 lazy query 指定返回动态 import
  • 支持通过 query 或 options 自定义文件格式过滤,ext和extg query 会覆盖默认支持的 ext 列表
  • 增加单元测试代码
  • 重构代码