Only transform this/use strict if a module.

This commit is contained in:
Logan Smyth
2017-09-14 17:36:25 -07:00
parent 8e6b5de042
commit 2b88e079ef
27 changed files with 46 additions and 58 deletions

View File

@@ -1,5 +1,3 @@
"use strict";
var A =
/*#__PURE__*/
function (_B) {

View File

@@ -1,5 +1,3 @@
"use strict";
var x = {
Foo:
/*#__PURE__*/

View File

@@ -1,5 +1,3 @@
"use strict";
var A = function A() {
babelHelpers.classCallCheck(this, A);
};

View File

@@ -1,5 +1,3 @@
"use strict";
var A =
/*#__PURE__*/
function () {

View File

@@ -1,5 +1,3 @@
"use strict";
var Example =
/*#__PURE__*/
function () {

View File

@@ -1,5 +1,3 @@
"use strict";
var Foo =
/*#__PURE__*/
function () {

View File

@@ -1,5 +1,3 @@
"use strict";
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }