typescript - Tsconfig and outDir issue -
i having issue outdir in tsconfig.json.
i have following tsconfig file:
{ "compileroptions": { "target": "es5", "module": "commonjs", "moduleresolution": "node", "sourcemap": true, "emitdecoratormetadata": true, "experimentaldecorators": true, "removecomments": false, "noimplicitany": false, "outdir": "dist", "outfile": "app.js" }, "exclude": [ "node_modules", "local_typings" ] }
the files compiled app.js, not in directory i've specified (dist), in directory, tsconfig file is. has found solution problem?
actually, found out issue. think pretty funny: enough specify file path , file name in outfile
, without using outdir
. so, in case, be:
"outfile":"dist/app.js"
have one!
Comments
Post a Comment