### Version 15.0.4 ### Reproduction link [https://github.com/nuxt/nuxt.js/tree/dev/test/fixtures/with-config](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`. <!-- generated by vue-issues. DO NOT REMOVE -->