broccoli-js-module-formats
Broccoli plugin for obtaining files that use a particular module system.
Limitations
ES modules without import or export statements will not be detected.
API
pickModules(inputTree, options)
Generates a JSON file with the dependency information for all the files in the
inputTree
. Options:
- type: Required. Module format to filter files by. Any of
cjs
,amd
,es
oryui
.
Example
var pickModules = ; var es6Modules = ;
License
This software is free to use under the Yahoo Inc. BSD license. See the LICENSE file for license text and copyright information.
Contribute
See the CONTRIBUTING file for info.