Angular 2 + Typescript compiler copy html and css files

后端 未结 7 1147
清酒与你
清酒与你 2020-12-05 07:01

In Angular2 I would have

\"outDir\": \"dist/app\"

in tsconfig.json. As a result the transpiled .js and .map files are generated in /di

相关标签:
7条回答
  • 2020-12-05 07:28

    This approach is provided by Microsoft:-
    https://github.com/Microsoft/TypeScript-Node-Starter
    Check out the file "copyStaticAssets". None of the solutions above worked for me, so I hope this helps someone like me.

    0 讨论(0)
提交回复
热议问题