Skip to content

use npm ci #90

@bobaaaaa

Description

@bobaaaaa

npm/install ::
cd $(WORK_DIR) && npm install

Für das prod build würde ich euch npm ci anstatt npm install empfehlen. Damit werden nicht die devDependencies installiert + der make Task ist schneller. Die lamda wird dadurch kleiner. Aber wichtig: nur für das finale prod build. für lint+test etc. braucht ihr die devDependencies

https://docs.npmjs.com/cli/v8/commands/npm-ci

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