使用rollup.js构建可重用的NPM模块
@ zhengxs / npm-module-boilerplate
使用rollup.js构建可重用的NPM模块,以便在nodejs和浏览器中运行。查看关联文章其他分支branch:esm esm-最初的汇总+ babel + es6模板特征使用下一个javascript开发。在nodejs和浏览器中运行。内置的捆绑分析器报告,文档生成,皮棉,单元测试和&代码覆盖率开发设置
您将需要[Node.js] [nodejs] 10+版本。克隆仓库后,运行: # Installation dependency $ npm install # build for production with minification $ npm run build # build for production and generate the bundle analyzer report
145.69KB
文件大小:
评论区