Rocky_Mountain_Vending/.pnpm-store/v10/files/e3/e8e31ca9767804380a446a5e9fc3468f1166924cd0abe3f935479d8cf77034bfd5b917e7df82a60b62586087c2987a15bdd4c2004118f044a76df713d99ca0
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

23 lines
No EOL
1 KiB
Text

/**
* Unlike most files in the node-environment-extensions folder this one is not
* an extension itself but it exposes a function to install config based global
* behaviors that should be loaded whenever a Node Server or Node Worker are created.
*/ import { InvariantError } from '../../shared/lib/invariant-error';
import { setAbortedLogsStyle } from './console-dim.external';
export function installGlobalBehaviors(config) {
var _config_experimental;
if (process.env.NEXT_RUNTIME === 'edge') {
throw Object.defineProperty(new InvariantError('Expected not to install Node.js global behaviors in the edge runtime.'), "__NEXT_ERROR_CODE", {
value: "E874",
enumerable: false,
configurable: true
});
}
if (((_config_experimental = config.experimental) == null ? void 0 : _config_experimental.hideLogsAfterAbort) === true) {
setAbortedLogsStyle('hidden');
} else {
setAbortedLogsStyle('dimmed');
}
}
//# sourceMappingURL=global-behaviors.js.map