官术网_书友最值得收藏!

  • 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.

主站蜘蛛池模板: 邵阳县| 浦东新区| 都昌县| 凌海市| 贵南县| 万年县| 溧水县| 曲麻莱县| 郸城县| 交城县| 泸溪县| 华蓥市| 天门市| 内江市| 孝感市| 遵义市| 盐边县| 临泽县| 海伦市| 河北省| 锦屏县| 星子县| 怀仁县| 丽江市| 翁源县| 富裕县| 高邑县| 永丰县| 徐水县| 淳化县| 阳东县| 遵化市| 玉门市| 高台县| 桐乡市| 南溪县| 孙吴县| 石屏县| 梨树县| 马龙县| 怀宁县|