Skip to content

默认导入包版本固定到第2位 #3

@otakustay

Description

@otakustay

现在的包导入后是这样的:

"esui": "3.x"

不过我看了下社区里的一些包,大部分在第2位版本号有变化时就引入了破坏性的更新,根本不关心向前兼容性,比如less和underscore

因此建议固定到第2位,即

"esui": "3.1.x"

更安全些

代码容易改:https://github.com/ecomfe/edp-package/blob/master/lib/import-from-file.js#L59

如果OK的话我发pull request也行

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