index.js 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', {
  3. value: true
  4. });
  5. Object.defineProperty(exports, 'createScriptTransformer', {
  6. enumerable: true,
  7. get: function () {
  8. return _ScriptTransformer.createScriptTransformer;
  9. }
  10. });
  11. Object.defineProperty(exports, 'createTranspilingRequire', {
  12. enumerable: true,
  13. get: function () {
  14. return _ScriptTransformer.createTranspilingRequire;
  15. }
  16. });
  17. Object.defineProperty(exports, 'handlePotentialSyntaxError', {
  18. enumerable: true,
  19. get: function () {
  20. return _enhanceUnexpectedTokenMessage.default;
  21. }
  22. });
  23. Object.defineProperty(exports, 'shouldInstrument', {
  24. enumerable: true,
  25. get: function () {
  26. return _shouldInstrument.default;
  27. }
  28. });
  29. var _ScriptTransformer = require('./ScriptTransformer');
  30. var _shouldInstrument = _interopRequireDefault(require('./shouldInstrument'));
  31. var _enhanceUnexpectedTokenMessage = _interopRequireDefault(
  32. require('./enhanceUnexpectedTokenMessage')
  33. );
  34. function _interopRequireDefault(obj) {
  35. return obj && obj.__esModule ? obj : {default: obj};
  36. }