Leaflet源码是怎么打包的?

本文档介绍了如何解决在尝试构建Leaflet源码时遇到的问题,包括使用npm install、npm build等命令失败的排查方法。同时,详细阐述了如何参与Leaflet项目的贡献,如报告bug、编写代码、运行测试、改进文档等,并提供了相应的步骤和建议。
摘要由CSDN通过智能技术生成

使用npm build、build、npm run-scripts build都失败了。。

我是使用的Leaflet-master下载的github仓库啊

 

使用npm install?npm install和npm run build的区别?

当运行npm install之后,在node_modules下下载了很多依赖库

但是使用"build": "npm run rollup && npm run uglify",失败了

看上面的提示,npm ERR! leaflet@1.7.1 rollup:'rollup -c build/rollup-config.js',查看build/rollup-config.js。。如何调试呢?怎么知道问题出在哪里?

Leaflet/CONTRIBUTING.md

Contributing to Leaflet

Getting Involved
Reporting Bugs
Contributing Code
Running the Tests
Improving Documentation
Code of Conduct
Thank You
Getting Involved

Third-party patches are absolutely essential in our quest to create the best mapping library that will ever exist. However, they're not the only way to get involved with Leaflet development. You can help the project tremendously by discovering and reporting bugs; improving documentation; helping others on Stack Overflow, GIS Stack Exchange and GitHub issues; tweeting to @LeafletJS; and spreading the word about Leafle

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值