Revert to ES5
This commit is contained in:
parent
f3a8621274
commit
93b4f6c5a3
1 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
||||||
var transformTools = require('browserify-transform-tools');
|
var transformTools = require('browserify-transform-tools');
|
||||||
var transformer = require('./transformer');
|
var transformer = require('./transformer');
|
||||||
|
|
||||||
const OPTIONS = {
|
var OPTIONS = {
|
||||||
excludeExtensions: ['.json']
|
excludeExtensions: ['.json']
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = transformTools.makeStringTransform('jsfuckify', OPTIONS, function (content, transformOptions, done) {
|
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);
|
done(null, newContent);
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue