How to overwrite Nixpack
npm ci
command to omit dev dependencies in a nodeJS project?
hugotessera
PROOP

a year ago

Hello, I would like to update and overwrite Nixpack install command from npm ci to npm ci --omit=dev, how can I do this?

0 Replies

hugotessera
PROOP

a year ago

190f9aa2-c8b3-46dd-a046-6fe955ffb230


brody
EMPLOYEE

a year ago

with a nixpacks.toml file -

[phases.install]
   cmds = ['npm ci --omit=dev']

hugotessera
PROOP

a year ago

noted, thanks a lot


hugotessera
PROOP

a year ago

i will try this


hugotessera
PROOP

a year ago

thank you so much for the quick response as usual


Loading...