3 ms·
I learned a lot from this, and whether or not one should be doing this, I simplified: https://github.com/shmup/react-makefile/blob/master/Makefile https://gith
by grimgrin 9y ago
I learned a lot from this, and whether or not one should be doing this, I simplified:
https://github.com/shmup/react-makefile/blob/master/Makefile https://github.com/shmup/react-makefile/blob/master/Makefile
I opted out of checking for modification dates on node_modules and yarn.lock, because that seems like exactly what Yarn itself is for. I let it manage itself.
I also let Webpack do the heavy lifting.
So in short: I don't really need the Makefile at all and could just add the clean and dev-server commands to a script block in package.json
I still like it though