- JavaScript by Example
- Dani Akash S
- 89字
- 2021-07-02 18:39:09
Shipping the code
Once development is done, for shipping the code if you use version control, add the node_modules and dist folder to the ignore list. Otherwise, send your code without the node_modules or dist folder. Other developers can simply run npm install to install dependencies and read the scripts inside the package.json file to build the project when needed.
Our npm run build command will remove the dist folder present inside the project folder and create a new dist folder with the latest build of JS code.
推薦閱讀
- 極簡(jiǎn)算法史:從數(shù)學(xué)到機(jī)器的故事
- CockroachDB權(quán)威指南
- 算法訓(xùn)練營(yíng):入門(mén)篇(全彩版)
- Django:Web Development with Python
- 機(jī)器人Python青少年編程開(kāi)發(fā)實(shí)例
- Web Application Development with R Using Shiny(Second Edition)
- Python神經(jīng)網(wǎng)絡(luò)項(xiàng)目實(shí)戰(zhàn)
- Python數(shù)據(jù)分析(第2版)
- 深入RabbitMQ
- Visual C#通用范例開(kāi)發(fā)金典
- Service Mesh實(shí)戰(zhàn):基于Linkerd和Kubernetes的微服務(wù)實(shí)踐
- Image Processing with ImageJ
- JavaScript+jQuery網(wǎng)頁(yè)特效設(shè)計(jì)任務(wù)驅(qū)動(dòng)教程
- TypeScript圖形渲染實(shí)戰(zhàn):2D架構(gòu)設(shè)計(jì)與實(shí)現(xiàn)
- 精通Spring:Java Web開(kāi)發(fā)與Spring Boot高級(jí)功能