Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
process: function(src, path) {
if (coffee.helpers.isCoffee(path)) {
return coffee.compile(src, {'bare': true})
}
if (path.match(/\.tag$/)) {
return preamble + compiler.compile(src)
}
return src
}
}
process: function(src, path) {
if (path.match(/\.coffee$/)) {
return coffee.compile(src, {'bare': true})
}
if (path.match(/\.tag$/)) {
return preamble + riot.compile(src)
}
return src
}
}