File tree 3 files changed +10
-6
lines changed
3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## v9.2.3
4
+
5
+ * [ Fix error message for invalid getCustomTransformers modules] ( https://github.com/TypeStrong/ts-loader/issues/1334 ) - thanks @blaky
6
+
3
7
## v9.2.2
4
8
5
9
* [ Start consuming webpack loader types] ( https://github.com/TypeStrong/ts-loader/issues/1325 ) - thanks @johnnyreilly
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ts-loader" ,
3
- "version" : " 9.2.2 " ,
3
+ "version" : " 9.2.3 " ,
4
4
"description" : " TypeScript loader for webpack" ,
5
5
"main" : " index.js" ,
6
6
"types" : " dist" ,
Original file line number Diff line number Diff line change @@ -361,7 +361,7 @@ export function initializeInstance(
361
361
throw new Error (
362
362
`Custom transformers in "${
363
363
instance . loaderOptions . getCustomTransformers
364
- } " should export a function, got ${ typeof getCustomTransformers } `
364
+ } " should export a function, got ${ typeof customerTransformers } `
365
365
) ;
366
366
}
367
367
getCustomTransformers = customerTransformers ;
@@ -403,10 +403,10 @@ export function initializeInstance(
403
403
instance ,
404
404
instance . configParseResult . projectReferences
405
405
) ;
406
- instance . watchOfFilesAndCompilerOptions = instance . compiler . createWatchProgram (
407
- instance . watchHost
408
- ) ;
409
- instance . builderProgram = instance . watchOfFilesAndCompilerOptions . getProgram ( ) ;
406
+ instance . watchOfFilesAndCompilerOptions =
407
+ instance . compiler . createWatchProgram ( instance . watchHost ) ;
408
+ instance . builderProgram =
409
+ instance . watchOfFilesAndCompilerOptions . getProgram ( ) ;
410
410
instance . program = instance . builderProgram . getProgram ( ) ;
411
411
412
412
instance . transformers = getCustomTransformers ( instance . program ) ;
You can’t perform that action at this time.
0 commit comments