mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-05 05:49:31 +08:00
28 lines
No EOL
701 B
Text
28 lines
No EOL
701 B
Text
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.transformFile = void 0;
|
|
exports.transformFileAsync = transformFileAsync;
|
|
exports.transformFileSync = transformFileSync;
|
|
|
|
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"));
|
|
}
|
|
|
|
0 && 0; |