broccoli-plugin:Broccoli插件的基类

时间:2021-05-12 09:22:30
【文件属性】:
文件名称:broccoli-plugin:Broccoli插件的基类
文件大小:93KB
文件格式:ZIP
更新时间:2021-05-12 09:22:30
JavaScript Broccoli插件基础类 用法示例 const Plugin = require ( 'broccoli-plugin' ) ; class MyPlugin extends Plugin { constructor ( inputNodes , options = { } ) { super ( inputNodes , { annotation : options . annotation , // see `options` in the below README to see a full list of constructor options } ) ; } build ( ) { // Read files from this.inputPaths, and write files to this.outputPat
【文件预览】:
broccoli-plugin-master
----package.json(2KB)
----.github()
--------workflows()
----test()
--------integration_test.js(14KB)
--------multidep.json(150B)
--------unit_test.js(10KB)
----RELEASE.md(2KB)
----prettier.config.js(101B)
----LICENSE(1KB)
----src()
--------read_compat.ts(4KB)
--------interfaces.ts(1KB)
--------index.ts(11KB)
----.npmignore(100B)
----.eslintrc.js(1KB)
----tsconfig.json(289B)
----.gitignore(55B)
----CHANGELOG.md(3KB)
----types()
--------promise-map-series.d.ts(194B)
--------quick-temp.d.ts(143B)
----README.md(7KB)
----yarn.lock(170KB)
----.eslintignore(59B)
----.gitattributes(19B)

网友评论