Skip to content

[Bug report]最新 2.11.1 版本好像插件与插件之间存在兼容问题,构建和运行报错 Cannot redefine property: __pluginName #2555

Description

@jekip

问题描述

构建运行都报错 Cannot redefine property: __pluginName

@mpxjs/unocss-plugin 从 CJS 改成了 ESM("type": "module"),但配套的 @mpxjs/vue-cli-plugin-mpx-utility-first-css 仍然用 require() 加载它,导致兼容性问题

麻烦有空确认一下是否存在这个问题

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