Skip to content

When using thread-loader: vue-loader was used without the corresponding plugin. #1267

Closed
@clarkdo

Description

@clarkdo

Version

15.0.4

Reproduction link

https://github.com/nuxt/nuxt.js/tree/dev/test/fixtures/with-config

Steps to reproduce

Use vue-loader and thread-loader.

What is expected?

Build successfully

What is actually happening?

The error will be:

vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config.


The error is due to that thread-loader will be run in a new context which doesn't include NS.

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