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>
16 lines
No EOL
598 B
Text
16 lines
No EOL
598 B
Text
"use strict";
|
|
let ReactDOMServer;
|
|
try {
|
|
// TODO: Use Node.js build unless we're in an Edge runtime.
|
|
ReactDOMServer = require('react-dom/server.edge');
|
|
} catch (error) {
|
|
if (error.code !== 'MODULE_NOT_FOUND' && error.code !== 'ERR_PACKAGE_PATH_NOT_EXPORTED') {
|
|
throw error;
|
|
}
|
|
// In React versions without react-dom/server.edge, the browser build works in Node.js.
|
|
// The Node.js build does not support renderToReadableStream.
|
|
ReactDOMServer = require('react-dom/server.browser');
|
|
}
|
|
module.exports = ReactDOMServer;
|
|
|
|
//# sourceMappingURL=ReactDOMServerPages.js.map |