Compiles the given string in a __COMPILE
function to a cheddar CST.
$ npm install babel-plugin-compile-cheddar
.babelrc
{
"plugins": ["babel-plugin-compile-cheddar"]
}
$ babel --plugins compile-cheddar script.js
require('babel').transform('code', {
plugins: ['compile-cheddar']
});
See fixtures within tests