Level 104
You can add webpack.mix.js (and whatever else you want) to the ignored file(s), but this would assume your deployment contains the compiled assets, and you are not intending to run npm run prod on the server
Is it normal to add webpack.mix.js to .gitignore file to prevent changes when pulling from the git repository ?
and what other files should I added to gitignore ?
/node_modules
/public/hot
/public/storage
/storage/*.key
/vendor
.env
.env.testing
.env.backup
.phpunit.result.cache
Homestead.json
Homestead.yaml
npm-debug.log
yarn-error.log
.idea/
/public/img/avatars
Please or to participate in this conversation.