forked from heroku/heroku-buildpack-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Description
Describe the bug
The documentation (https://doc.scalingo.com/languages/nodejs/start#install-devdependencies) say that devDependencies are not installed by default unless the NPM_CONFIG_PRODUCTION environment variable is set to false. However, they seem to be installed anyway if the env var is not defined at all.
To Reproduce
Steps to reproduce the behavior:
- Create a new app on Scalingo
- Deploy a nodejs app containing devDependencies in their package.json
- Check the deploy log to see that devDependencies were installed
- Connect to the app with a one-off
- Notice that the devDependencies are present in the image