Sha256: b63a3c59d7a38b3925e67f42dab17203e64b349c2d9eaaeba81c1523d2dfd3d8

Contents?: true

Size: 692 Bytes

Versions: 60

Compression:

Stored size: 692 Bytes

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.transformFileSync = transformFileSync;
exports.transformFileAsync = transformFileAsync;
exports.transformFile = void 0;

const transformFile = function transformFile(filename, opts, callback) {
  if (typeof opts === "function") {
    callback = opts;
  }

  callback(new Error("Transforming files is not supported in browsers"), null);
};

exports.transformFile = transformFile;

function transformFileSync() {
  throw new Error("Transforming files is not supported in browsers");
}

function transformFileAsync() {
  return Promise.reject(new Error("Transforming files is not supported in browsers"));
}

Version data entries

60 entries across 59 versions & 11 rubygems

Version Path
trusty-cms-4.3.3 node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-4.3.2 node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-4.3.1 node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-4.3 node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-4.2.3 node_modules/@babel/core/lib/transform-file-browser.js
tang-0.2.1 spec/tang_app/node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-4.2.2 node_modules/@babel/core/lib/transform-file-browser.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/@babel/core/lib/transform-file-browser.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/@babel/core/lib/transform-file-browser.js
ruby2js-4.0.4 lib/tasks/testrails/node_modules/@babel/core/lib/transform-file-browser.js
ruby2js-4.0.3 lib/tasks/testrails/node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-4.2.1 node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-4.2 node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-4.1.9 node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-4.1.8 node_modules/@babel/core/lib/transform-file-browser.js
tang-0.2.0 spec/tang_app/node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-4.1.7 node_modules/@babel/core/lib/transform-file-browser.js
tang-0.1.0 spec/tang_app/node_modules/@babel/core/lib/transform-file-browser.js
tang-0.0.9 spec/tang_app/node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-4.1.6 node_modules/@babel/core/lib/transform-file-browser.js