source: trip-planner-front/node_modules/@babel/core/lib/transform-file-browser.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 692 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.transformFileSync = transformFileSync;
7exports.transformFileAsync = transformFileAsync;
8exports.transformFile = void 0;
9
10const transformFile = function transformFile(filename, opts, callback) {
11 if (typeof opts === "function") {
12 callback = opts;
13 }
14
15 callback(new Error("Transforming files is not supported in browsers"), null);
16};
17
18exports.transformFile = transformFile;
19
20function transformFileSync() {
21 throw new Error("Transforming files is not supported in browsers");
22}
23
24function transformFileAsync() {
25 return Promise.reject(new Error("Transforming files is not supported in browsers"));
26}
Note: See TracBrowser for help on using the repository browser.