项目作者: gs3170981

项目描述 :
基于rollup的jsonx辅助库 - rollup-plugin-jsonx
高级语言: JavaScript
项目地址: git://github.com/gs3170981/npm-jsonx.git
创建时间: 2019-07-25T06:06:52Z
项目社区:https://github.com/gs3170981/npm-jsonx

开源协议:

下载


【插件】jsonx:rollup-plugin-jsonx - 可注释的 json 文件

说在前头

该插件目前只能在 rollup 解析下执行,可配合 vscode 插件 jsonx 提供静态校验+配色

后期根据需求量再看是否扩展添加


如何使用

在 rollup 配置文件中,添加至 plugins 即可

  1. import jsonx from "rollup-plugin-jsonx";
  2. const publicConf = [
  3. {
  4. // other...
  5. plugins: [
  6. // other...
  7. jsonx()
  8. // other...
  9. ]
  10. }
  11. ];

关于

make:o︻そ ╆OVE▅▅▅▆▇◤(清一色天空)

blog:http://blog.csdn.net/mcky_love

掘金:https://juejin.im/user/59fbe6c66fb9a045186a159a/posts

lofter:http://zcxy-gs.lofter.com/

sf:https://segmentfault.com/u/mybestangel

git:https://github.com/gs3170981/npm-jsonx.git


结束语

如有 bug/意见,望提 Issues,如好用请 star~