Ignore generated files in TypeScript project

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jeremysimmons
    Visitor
    • Jun 2013
    • 3

    Ignore generated files in TypeScript project

    Typescript generates a *.js and *.js.map for each *.ts file in the project.
    I would like to ignore the *.js and *.js.map file when there is a matching *.ts file.
    I would like to not ignore *.js files without a matching *.ts file.
    Is this possible?
  • Aaron
    Team Scooter
    • Oct 2007
    • 15997

    #2
    Hello,

    Unfortunately, BC4's Name Filtering does not have the conditional definition necessary for this type of filter. You can ignore the extension *.js, but you would need to ether ignore all *.js, or the filter would be setup for more specific file names (name.js or name*.js), but it cannot look for a matching *.ts file.
    Aaron P Scooter Software

    Comment

    Working...