Announcement

Collapse
No announcement yet.

Ignore generated files in TypeScript project

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #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...
    X