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

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.

主站蜘蛛池模板: 南乐县| 射洪县| 安多县| 法库县| 高雄县| 江口县| 梧州市| 昌图县| 静宁县| 思茅市| 桐庐县| 漠河县| 岐山县| 商丘市| 阳原县| 诸城市| 太保市| 文山县| 河间市| 如东县| 南靖县| 名山县| 临猗县| 蓬莱市| 措勤县| 鲜城| 鹤山市| 凤冈县| 高陵县| 江北区| 古交市| 乌拉特中旗| 德钦县| 尚志市| 建昌县| 海口市| 电白县| 上虞市| 永济市| 湟源县| 荔浦县|