TypeScript: the outDir property of tsconfig.json does not work for me

1

I want the compile to be added to the js folder, but the file is added to the root folder of the project.

This is my code:

{
"compilerOptions":{
  "emitDecoratorMetadata":true,
  "experimentalDecorators":true,
  "module":"system",
  "moduleResolution":"node",
  "noImplicitAny":false,
  "outDir":"js/",
  "removeComments":false,
  "rootDir":"src/scripts",
  "sourceMap":false,
  "target":"ES5"
},
"exclude":[
  "node_modules"
 ]
}
    
asked by Mauricio Brito 13.10.2016 в 02:39
source

0 answers