aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@babel/core/lib/transform-file-browser.js
blob: 735e58296aa3e44cad2428bbf9aecfeaee2842a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = transformFile;

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

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