Skip to content

Commit 3644953

Browse files
committed
chore: cleanup
1 parent 38760f5 commit 3644953

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/index.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ export default function loader(
7878
!(loaderContext as any)['thread-loader'] &&
7979
!(loaderContext as any)[VueLoaderPlugin.NS]
8080
) {
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
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
8888
}
8989

9090
const stringifyRequest = (r: string) => _stringifyRequest(loaderContext, r)

0 commit comments

Comments
 (0)