File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,12 @@ import { WebpackTestOptions } from '../webpack-test-config';
14
14
*/
15
15
16
16
17
-
18
17
export function getTestConfig ( testConfig : WebpackTestOptions ) {
19
18
20
19
const configPath = CliConfig . configFilePath ( ) ;
21
20
const projectRoot = path . dirname ( configPath ) ;
22
21
const appConfig = CliConfig . fromProject ( ) . config . apps [ 0 ] ;
23
- const extraRules = [ ] ;
22
+ const extraRules : any [ ] = [ ] ;
24
23
25
24
if ( testConfig . codeCoverage ) {
26
25
extraRules . push ( {
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ const init: any = (config: any) => {
49
49
50
50
// The `files` entry serves the file from `/base/{asset.input}/{asset.glob}`.
51
51
// We need to add a URL rewrite that exposes the asset as `/{asset.output}/{asset.glob}`.
52
- let relativePath , proxyPath ;
52
+ let relativePath : string , proxyPath : string ;
53
53
if ( fs . existsSync ( assetPath ) ) {
54
54
relativePath = path . relative ( config . basePath , assetPath ) ;
55
55
proxyPath = path . join ( pattern . output , pattern . glob ) ;
You can’t perform that action at this time.
0 commit comments