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
optimacms-0.1.61 spec/dummy/node_modules/@babel/core/lib/transform-file-browser.js
disco_app-0.18.0 test/dummy/node_modules/@babel/core/lib/transform-file-browser.js
disco_app-0.18.2 test/dummy/node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-5.0.7 node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-5.0.6 node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-5.0.5 node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-5.0.4 node_modules/@babel/core/lib/transform-file-browser.js
disco_app-0.16.1 test/dummy/node_modules/@babel/core/lib/transform-file-browser.js
disco_app-0.15.2 test/dummy/node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-5.0.3 node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-5.0.2 node_modules/@babel/core/lib/transform-file-browser.js
disco_app-0.18.4 test/dummy/node_modules/@babel/core/lib/transform-file-browser.js
disco_app-0.18.1 test/dummy/node_modules/@babel/core/lib/transform-file-browser.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@babel/core/lib/transform-file-browser.js
disco_app-0.14.0 test/dummy/node_modules/@babel/core/lib/transform-file-browser.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-5.0.1 node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-4.3.5 node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-5.0.0 node_modules/@babel/core/lib/transform-file-browser.js
trusty-cms-4.3.4 node_modules/@babel/core/lib/transform-file-browser.js