Skip to content

引用微信官方拓展组件webpack报错 #41

@ludejun

Description

@ludejun

wxapp-webpack-plugin 使用最新的0.19.0
在页面中使用官方拓展组件:yarn add @miniprogram-component-plus/tabs
.json:
{ "usingComponents": { "user": "../../components/user/user", "mp-tabs": "@miniprogram-component-plus/tabs" }, "navigationStyle": "custom", "backgroundColor": "#fff" }

打包会报错:TypeError: Cannot read property 'replace' of undefined
我看有几个类似问题,在wxapp-webpack-plugin库中也有

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions