I have a express project i have to deploy on a windows Server with IIS10. My initial project contains a client (angular4) and a server (express).
root folder/
-sharedModels/
--...
-client/
--src/
--angular-cli.json
--package.json
--...
-server/
--server.ts
--config.ts
--...
-package.json
-tsconfig.json
I compiled the client already and now I struggle to compile the server. I read that I have to build the server to a plain js project and use iisnode. I've got iisnode to work on the windows server. Now I try to create a js based project from the .ts files. If i use the tsc
command from my root folder . I end up with a lot of errors from node_modules/@types/
. I found a lot of grunt references but I could not get it compiled correctly to js and I am not sure if this would be an ideal way.
Any thoughts?
via wenzel
No comments:
Post a Comment