dbiele / TypeScript-Cordova-SystemJS-Angular2-beta

VS2015 project created using TypeScript, Cordova, SystemJS, Angular beta
28 stars 14 forks source link

`exclude` property in tsconfig.json is not pointing to the correct path #4

Closed mhegazy closed 8 years ago

mhegazy commented 8 years ago

From a cursory look, I do not not think the exclude property in tsconfig.json is pointing to the correct location. if i were to guess, i would say folder: https://github.com/dbiele/TypeScript-Cordova-SystemJS-Angular2-beta/tree/master/CODE/scripts/tests was the one meant to be excluded. if this is the case, then the value should be "tests" instead of "../www/scripts/tests/". also looks like the rootDir is using an unnecessary long form to mean ".".

mhegazy commented 8 years ago

in general all file path in a tsconfig.json file are relative to the the tsconfig.json file location. see https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/tsconfig.json.md for more details.

DeanB2015 commented 8 years ago

@mhegazy Thanks for the help!. The tests value was the solution.

"exclude": [
    "tests"
  ]