- 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.
推薦閱讀
- Spring Boot 2實(shí)戰(zhàn)之旅
- Designing Machine Learning Systems with Python
- Web應(yīng)用系統(tǒng)開發(fā)實(shí)踐(C#)
- 跟小海龜學(xué)Python
- EPLAN實(shí)戰(zhàn)設(shè)計
- Unity 5 for Android Essentials
- Android應(yīng)用案例開發(fā)大全(第二版)
- Python High Performance Programming
- .NET 4.5 Parallel Extensions Cookbook
- 跟戴銘學(xué)iOS編程:理順核心知識點(diǎn)
- Instant Apache Camel Messaging System
- 零基礎(chǔ)學(xué)Java第2版
- Developing Java Applications with Spring and Spring Boot
- C/C++程序設(shè)計教程
- 循序漸進(jìn)Vue.js 3前端開發(fā)實(shí)戰(zhàn)