Skip to content

uni-app子包中使用lottie-miniprogram加载动画,json文件打包到了根目录,导致“主包内不应该存在主包未使用的JS文件” #57

@wustdjf

Description

@wustdjf

在uni-app小程序项目中的子包文件中使用lottie-miniprogram加载动画,动画json文件也是在子包的assets文件夹中。

但是打包之后,动画json文件被打包到了项目根目录中。导致“主包内不应该存在主包未使用的JS文件”错误

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