nstudio / xplat

Cross-platform (xplat) tools for Nx workspaces.
MIT License
366 stars 52 forks source link

[Bug] TypeScript output is generated inline for electron apps #247

Open wSedlacek opened 3 years ago

wSedlacek commented 3 years ago

In a newly created Electron app it seems to be missing an outDir for TypeScript to transpile to.

Screen Shot 2021-01-30 at 8 47 12 AM

The fix should pretty easy, just adding the following line to the tsconfig.json

"outDir": "../../dist/out-tsc"
NathanWalker commented 3 years ago

@wSedlacek would you like to attempt a PR for this? I believe it's just updating this here: https://github.com/nstudio/xplat/blob/master/packages/electron-angular/src/schematics/application/_files/tsconfig.json