Rocky_Mountain_Vending/.pnpm-store/v10/files/c4/8f2610f2ad06cb51f3069b884673d26f87b503283560af9a967b83f6c1734c47c26afb4204423d0e9fe7383effdbaed653dcc6525e2c6bfcdda74b65ba0dcd
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

18 lines
591 B
Text

import * as iitm from '../../hook.mjs'
import * as tsNode from 'ts-node/esm.mjs'
const makeNext = (loader, fnName, parentResolveOrLoad) => {
return (specifierOrUrl, context) => {
return loader[fnName](specifierOrUrl, context, parentResolveOrLoad)
}
}
export async function resolve (specifier, context, defaultResolve) {
const next = makeNext(tsNode, 'resolve', defaultResolve)
return iitm.resolve(specifier, context, next)
}
export async function load (url, context, defaultLoad) {
const next = makeNext(tsNode, 'load', defaultLoad)
return iitm.load(url, context, next)
}