NeahNew/node_modules/next/dist/build/webpack/loaders/next-error-browser-binary-loader.js
2025-05-03 14:17:46 +02:00

21 lines
714 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return nextErrorBrowserBinaryLoader;
}
});
function nextErrorBrowserBinaryLoader() {
const { resourcePath, rootContext } = this;
const relativePath = resourcePath.slice(rootContext.length + 1);
throw Object.defineProperty(new Error(`Node.js binary module ./${relativePath} is not supported in the browser. Please only use the module on server side`), "__NEXT_ERROR_CODE", {
value: "E79",
enumerable: false,
configurable: true
});
}
//# sourceMappingURL=next-error-browser-binary-loader.js.map