Skip to content

babel helper函数重复引入 #107

@jackiotyu

Description

@jackiotyu

Image

现在非h5平台打包的模块内会有很多重复的helper函数定义

Image
指定version后会从@babel/plugin-transform-runtime内统一引入
参考 https://stackoverflow.com/questions/63940349/duplicate-helper-functions-generated-when-building-bundle-with-babel-and-webpack

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions