Rocky_Mountain_Vending/.pnpm-store/v10/files/98/f2d1719ae5218d6157c1a56c188b03ceaace4640a446206d1dabba55d1fa7416ddf39d2726f3db96d59bd73556027e0d255799c7ffef9dd70428cd33d61b43
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

43 lines
No EOL
1.1 KiB
Text

/*
Files in the rsc directory are meant to be packaged as part of the RSC graph using next-app-loader.
*/ import ReactDOM from 'react-dom';
export function preloadStyle(href, crossOrigin, nonce) {
const opts = {
as: 'style'
};
if (typeof crossOrigin === 'string') {
opts.crossOrigin = crossOrigin;
}
if (typeof nonce === 'string') {
opts.nonce = nonce;
}
ReactDOM.preload(href, opts);
}
export function preloadFont(href, type, crossOrigin, nonce) {
const opts = {
as: 'font',
type
};
if (typeof crossOrigin === 'string') {
opts.crossOrigin = crossOrigin;
}
if (typeof nonce === 'string') {
opts.nonce = nonce;
}
ReactDOM.preload(href, opts);
}
export function preconnect(href, crossOrigin, nonce) {
const opts = {};
if (typeof crossOrigin === 'string') {
opts.crossOrigin = crossOrigin;
}
if (typeof nonce === 'string') {
opts.nonce = nonce;
}
;
ReactDOM.preconnect(href, opts);
}
//# sourceMappingURL=preloads.js.map