File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ ## v1.0.1
2
+
3
+ * [ Apply rounding to compilation time] ( https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/235 )
4
+
1
5
## v1.0.0
2
6
3
7
* [ Going 1.0] ( https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/218 )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " fork-ts-checker-webpack-plugin" ,
3
- "version" : " 1.0.0 " ,
3
+ "version" : " 1.0.1 " ,
4
4
"description" : " Runs typescript type checker and linter on separate process." ,
5
5
"main" : " lib/index.js" ,
6
6
"types" : " lib/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -659,7 +659,8 @@ class ForkTsCheckerWebpackPlugin {
659
659
private handleServiceMessage ( message : Message ) : void {
660
660
if ( this . measureTime ) {
661
661
const delta = this . performance . now ( ) - this . startAt ;
662
- this . logger . info ( `compilation took: ${ delta } ms.` ) ;
662
+ const deltaRounded = Math . round ( delta * 100 ) / 100 ;
663
+ this . logger . info ( `Compilation took: ${ deltaRounded } ms.` ) ;
663
664
}
664
665
if ( this . cancellationToken ) {
665
666
this . cancellationToken . cleanupCancellation ( ) ;
You can’t perform that action at this time.
0 commit comments