regexper-static/lib/canopy-loader.js
2016-10-15 12:55:46 -04:00

7 lines
125 B
JavaScript

var canopy = require('canopy');
module.exports = function(source) {
this.cacheable();
return canopy.compile(source);
};