Annotating transformed classes with #__PURE__ comment (#6209)

This commit is contained in:
Mateusz Burzyński
2017-09-11 17:18:37 +02:00
committed by Henry Zhu
parent c4f6a7a06f
commit c47258d68c
81 changed files with 299 additions and 112 deletions

View File

@@ -1,4 +1,6 @@
let Foo = function () {
let Foo =
/*#__PURE__*/
function () {
function Foo() {
babelHelpers.classCallCheck(this, Foo);
}

View File

@@ -9,7 +9,9 @@ var _last2 = require("lodash/last");
var _last3 = babelHelpers.interopRequireDefault(_last2);
let Container = function () {
let Container =
/*#__PURE__*/
function () {
function Container() {
babelHelpers.classCallCheck(this, Container);
}

View File

@@ -7,7 +7,9 @@ exports.default = void 0;
var _store = require("./store");
let Login = function (_React$Component) {
let Login =
/*#__PURE__*/
function (_React$Component) {
babelHelpers.inherits(Login, _React$Component);
function Login() {

View File

@@ -4,7 +4,9 @@ var _events2 = require("events");
var _events3 = babelHelpers.interopRequireDefault(_events2);
let Template = function () {
let Template =
/*#__PURE__*/
function () {
function Template() {
babelHelpers.classCallCheck(this, Template);
}