Skip to content

Commit 79a94dd

Browse files
committed
fix: should export the pitch function
fixes #1677 TODO: Need to add tests later
1 parent 7564a7d commit 79a94dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pitcher.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const pitcher: webpack.loader.Loader = code => code
2424

2525
// This pitching loader is responsible for intercepting all vue block requests
2626
// and transform it into appropriate requests.
27-
pitcher.pitch = function() {
27+
export const pitch = function() {
2828
const context = this as webpack.loader.LoaderContext
2929
const rawLoaders = context.loaders.filter(isNotPitcher)
3030
let loaders = rawLoaders

0 commit comments

Comments
 (0)