DEV Community

Alex Cosmas
Alex Cosmas

Posted on

What is the difference npm build and npm run build?

One more thing, npm build and npm run build are two different things, npm run build will do custom work written inside package. json and npm build is a pre-defined script (not available to use directly).

Resource
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwiAnbHGx_H9AhWexgIHHUu6AsIQFnoECAsQAQ&url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F43664200%2Fwhat-is-the-difference-between-npm-install-and-npm-run-build&usg=AOvVaw3u7JIq9QOJYXkUCxvrDsqn

Top comments (0)