DEP0148:'“exports”中的文件夹映射(后尾是“/”')


🌐 DEP0148: Folder mappings in "exports" (trailing "/")

类型:运行时

🌐 Type: Runtime

子路径导出子路径导入 字段中使用末尾的 / 来定义子路径文件夹映射已被弃用。请改用 子路径模式

🌐 Using a trailing "/" to define subpath folder mappings in the subpath exports or subpath imports fields is deprecated. Use subpath patterns instead.