What should I put in a meteor .gitignore file?

后端 未结 15 1306
一向
一向 2021-01-30 19:14

I have a new meteor project. I\'m guessing the .meteor dir has a combination of configuration files (needed) and temporary files (not needed).

So what\'s i

15条回答
  •  半阙折子戏
    2021-01-30 19:43

    Your gitignore should also contain:

    public/node_modules

    And you supplement this with a properly crafted package.json that manages node module dependency installation.

    This will necessitate a npm install when installed somewhere new.

提交回复
热议问题