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 |
|
---|
3 | Object.defineProperty(exports, "__esModule", {
|
---|
4 | value: true
|
---|
5 | });
|
---|
6 | exports.transformFileSync = transformFileSync;
|
---|
7 | exports.transformFileAsync = transformFileAsync;
|
---|
8 | exports.transformFile = void 0;
|
---|
9 |
|
---|
10 | const 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 |
|
---|
18 | exports.transformFile = transformFile;
|
---|
19 |
|
---|
20 | function transformFileSync() {
|
---|
21 | throw new Error("Transforming files is not supported in browsers");
|
---|
22 | }
|
---|
23 |
|
---|
24 | function 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.