Pipe data from one npm script to another

Elijah Manor
InstructorElijah Manor

Share this video with your friends

Send Tweet

In an effort to bypass saving temporary build files you can leverage piping and output redirection to streamline your build process. In addition using these technique can speed up your build process.

Sean Stephenson
Sean Stephenson
~ 4 years ago

In this (and subsequent lessons) there is a data.json file that is referenced in package.json however that file is not in the repo. Do I download it from somewhere.

Note, I also filed this is an issue here:

https://github.com/elijahmanor/react-file-size/issues/5

Thanks!!!

Sean Stephenson
Sean Stephenson
~ 4 years ago

ahhhh, i need to run npm start to generate this file. i see. sorry about that. all good!

Elijah Manor
Elijah Manorinstructor
~ 3 years ago

ahhhh, i need to run npm start to generate this file. i see. sorry about that. all good!

glad you figured it out :)