Rocky_Mountain_Vending/.pnpm-store/v10/files/f0/4384fe90413618f7ba4531a9dfd22a8684feb6e69da53b21b5c3f601588b21787a0a293473facefc225b17d2e9844e4fdd43735001474e33fb8ba576ec76cd
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

19 lines
No EOL
661 B
Text

import { getModuleBuildInfo } from './get-module-build-info';
import crypto from 'crypto';
function sha1(source) {
return crypto.createHash('sha1').update(source).digest('hex');
}
export default function MiddlewareWasmLoader(source) {
const name = `wasm_${sha1(source)}`;
const filePath = `edge-chunks/${name}.wasm`;
const buildInfo = getModuleBuildInfo(this._module);
buildInfo.nextWasmMiddlewareBinding = {
filePath: `server/${filePath}`,
name
};
this.emitFile(`/${filePath}`, source, null);
return `module.exports = ${name};`;
}
export const raw = true;
//# sourceMappingURL=next-middleware-wasm-loader.js.map