Hi all, I created a Gulp action to build my website assets. Here is the contents of the action:
npm install gulp
This should result in some minified CSS and JS files. These are the only files I want copying over to my production server.
However upon deployment it also copied over the
node_modules folder, which contained thousands of files and took a long time to copy over. I don’t need these files on the production sever - they are only needed for the build step, which is done on buddy’s servers.
What is the correct way to configure this action so that only the minified CSS and JS files are copied over?