2018年12月20日

How_Require_Extensions_Work

摘要: Why Doing require extensions correctly is essential, because: What is a require extension anyways? First, it's worth remembering what default ".js" ex 阅读全文

posted @ 2018-12-20 18:19 荣锋亮 阅读(157) 评论(0) 推荐(0) 编辑

nodejs-hook 开发

摘要: nodejs require hook 功能很强大,我们可以用来将不支持的数据文件,直接使用require 进行加载,同时 我们可以方便的进行代码的预编译(比如babel 的组件) 为了方便使用npm 包,使用lerna 进行单体组件仓库的开发模式,demo 主要是加载markdown 文档 环境准 阅读全文

posted @ 2018-12-20 18:17 荣锋亮 阅读(1689) 评论(0) 推荐(0) 编辑

导航