archive
/
JSFuckify
Archived
1
Fork 0

Revert to ES5

This commit is contained in:
Jake Howard 2016-03-24 21:13:04 +00:00
parent f3a8621274
commit 93b4f6c5a3
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
var transformTools = require('browserify-transform-tools');
var transformer = require('./transformer');
const OPTIONS = {
var OPTIONS = {
excludeExtensions: ['.json']
};
module.exports = transformTools.makeStringTransform('jsfuckify', OPTIONS, function (content, transformOptions, done) {
const newContent = transformer(content, transformOptions.config);
var newContent = transformer(content, transformOptions.config);
done(null, newContent);
});