Now I am working on an automated front-end process using webpack gulp. The other steps have been completed, and there is still the last step. I want to directly enter a command to generate an html, scss, and js file. How to achieve this?
typecho2017-06-12 09:30:34
Use node’s fs module to write files
Use npm link to specify your own instructions on the command line
You need a commander for command line parameter processing (just npm install)
Attached is a good tutorial http://www.ruanyifeng. com/blo…