mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-02-09 17:51:01 +00:00
remove jsx-transform
not used anymore since we're now using reactify
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
var through = require('through2');
|
||||
var jsx = require('jsx-transform');
|
||||
|
||||
module.exports = function(file) {
|
||||
return through(function (buf, enc, next) {
|
||||
this.push(jsx.transform(buf.toString('utf8'), {
|
||||
ignoreDocblock: true,
|
||||
jsx: 'h'
|
||||
}));
|
||||
next();
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user