Skip to content

BUG:在 Linux 上导致 Rollup 无法解析模块 #41

Description

@cny100m

Ubuntu 的文件系统区分大小写,因此 dynamic-inputsdynamic-Inputs 是两个不同路径。原导入在部分默认不区分大小写的 macOS 环境中可能不报错,但在 Linux 上导致 Rollup 无法解析模块。

-import { ArrayInput } from "@workspace/ui/composed/dynamic-inputs";
+import { ArrayInput } from "@workspace/ui/composed/dynamic-Inputs";

基线提交中的真实文件名为:

packages/ui/src/composed/dynamic-Inputs.tsx

这是路径纠错,不改变组件逻辑。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions