【发布时间】:2017-07-17 18:48:19
【问题描述】:
我想在谷歌云应用引擎上部署我的 Angular 4 应用程序,我想。
如果我在 node_modules 中有 220mb 的数据,我只想部署 dist 文件夹,而不是其他数据。过去我有单独的文件夹,当我使用 ng build --prod 构建应用程序时,我复制了 MAX 10mb 的 dist 文件夹,然后将文件夹移动到我拥有 express 的文件夹中,然后部署谷歌云中的应用程序有任何方法可以告诉谷歌云我想在云上上传哪些数据。
或者有类似 .gitignore 的东西忽略 node_modules 文件夹
【问题讨论】:
标签: angular google-app-engine google-cloud-platform