Skip to content

happypack using vue-loader to report an error #1574

Open
@ddmy

Description

@ddmy

Version

15.7.1

Reproduction link

https://github.com/ddmy/webpack-study

Steps to reproduce

use npm run build or npm run dev
console can see

What is expected?

Normal use

What is actually happening?

Error: [VueLoaderPlugin Error] No matching use for vue-loader is found.
Make sure the rule matching .vue files include vue-loader in its use.

Activity

lovetingyuan

lovetingyuan commented on Dec 16, 2019

@lovetingyuan

实际上vue-loader 15现在不支持happypack 因为happypack内部使用了虚拟的compiler和loaderContext,不建议使用这个happypack了,你可以看下 https://github.com/webpack-contrib/thread-loader,vue-loader对其提供了支持。

SoldierAb

SoldierAb commented on Nov 6, 2020

@SoldierAb
SoldierAb

SoldierAb commented on Nov 6, 2020

@SoldierAb

got same issue

darkomenx

darkomenx commented on Nov 20, 2020

@darkomenx

I confirm I have the same error with 15.9.5 version

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

      happypack using vue-loader to report an error · Issue #1574 · vuejs/vue-loader