Add react

This commit is contained in:
2020-12-30 18:08:01 -05:00
parent 2a36f20a4c
commit 8a6e029f83
5268 changed files with 296765 additions and 12 deletions

View File

@ -0,0 +1,26 @@
"use strict";
exports.__esModule = true;
exports.default = function () {
return {
visitor: {
NumericLiteral: function NumericLiteral(_ref) {
var node = _ref.node;
if (node.extra && /^0[ob]/i.test(node.extra.raw)) {
node.extra = undefined;
}
},
StringLiteral: function StringLiteral(_ref2) {
var node = _ref2.node;
if (node.extra && /\\[u]/gi.test(node.extra.raw)) {
node.extra = undefined;
}
}
}
};
};
module.exports = exports["default"];