2017-08-07 47 views

回答

0

在tsconfig JSON补充:

"exclude":[ 
    "node_modules", 
    "**/__test*", //exclude all that *__test* 
    "**/*.spec.ts" // exclude all that contain "spec.ts" in name 
    ]