wilddragon-site/node_modules/next/dist/shared/lib/errors/code-frame.js

20 lines
582 B
JavaScript
Raw Normal View History

2026-04-17 15:51:01 -04:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "codeFrameColumns", {
enumerable: true,
get: function() {
return codeFrameColumns;
}
});
const _swc = require("../../../build/swc");
function codeFrameColumns(file, location, options = {}) {
// Default to the terminal width
if (options.maxWidth === undefined) {
options.maxWidth = process.stdout.columns;
}
return (0, _swc.getBindingsSync)().codeFrameColumns(file, location, options);
}
//# sourceMappingURL=code-frame.js.map