Skip to content

使用了thread-loader后,customName配置项失效 #631

Open
@Zex158

Description

使用了thread-loader后,customName配置项失效,去掉thread-loader就能正常使用。

使用webpack构建,相关版本如下:
webpack:4.42.1
thread-loader:3.0.4
babel-plugin-import:1.13.3

配置大致如下:
{ loader: 'thread-loader' }, { loader: 'babel-loader', query: { //... }, plugins: [[ 'import', { library: 'xxx', style: true, customName: function() { //... } } ]] }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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