Skip to content

Remove node_modules from .cfignore #8

@dotchev

Description

@dotchev

There are several good reasons to avoid npm install during productive use.
Currently npm does not guarantee that you will get the same (bit for bit) dependencies as during your tests. So this results in the following risks:

  • Security: you cannot verify that malicious code is not injects in some of your dependencies
  • Stability: the content of some dependency could change without changing its version or even npm registry could be down

So it should be possible to push an app with pre-downloaded dependencies, i.e. with node_modules.
Currently this is not possible as .cfignore skips node_modules from cf push.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions