The Sweet.js project is no longer maintained.
broccoli-sweetjs
Transpile Sweet.js macros
Issues with the output should be reported on the Sweet.js issue tracker.
$ npm install --save-dev broccoli-sweetjs
var sweetjs = require('broccoli-sweetjs');
tree = sweetjs(tree, options);
Type: array
Default: []
A list of macros you want to use.
Use the same syntax as you would in require()
:
- npm module:
'module-name'
- local file:
'./file-name'
Type: array
Default: []
A list of readtable extensions you want to use.
Use the same syntax as you would in require()
:
- npm module:
'module-name'
- local file:
'./file-name'
MIT © Sindre Sorhus