We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38760f5 commit 3644953Copy full SHA for 3644953
src/index.ts
@@ -78,13 +78,13 @@ export default function loader(
78
!(loaderContext as any)['thread-loader'] &&
79
!(loaderContext as any)[VueLoaderPlugin.NS]
80
) {
81
- // loaderContext.emitError(
82
- // new Error(
83
- // `vue-loader was used without the corresponding plugin. ` +
84
- // `Make sure to include VueLoaderPlugin in your webpack config.`
85
- // )
86
87
- // errorEmitted = true
+ loaderContext.emitError(
+ new Error(
+ `vue-loader was used without the corresponding plugin. ` +
+ `Make sure to include VueLoaderPlugin in your webpack config.`
+ )
+ errorEmitted = true
88
}
89
90
const stringifyRequest = (r: string) => _stringifyRequest(loaderContext, r)
0 commit comments