There is nothing wrong with your configuration.(您的配置没有错。)
Angular (since version 2.0) uses npm modules and dependencies for development.(Angular(从2.0版开始)使用npm模块和依赖项进行开发。) That's the sole reason you are seeing such a huge number of files.(这是您看到如此大量文件的唯一原因。)
A basic setup of Angular contains transpiler, typings dependencies which are essential for development purposes only.(Angular的基本设置包含编译器,键入依赖项,这些依赖项仅对开发目的至关重要 。)
Once you are done with development, all you will need to do is to bundle this application.(开发完成后,您需要做的就是捆绑此应用程序。)
After bundling your application, there will be only one bundle.js
file which you can then deploy on your server.(捆绑您的应用程序后,将只有一个bundle.js
文件,您可以将其部署在服务器上。)
'transpiler' is just a compiler, thanks @omninonsense for adding that.('transpiler' 只是一个编译器,谢谢@omninonsense的添加。) 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…