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>
19 lines
No EOL
523 B
Text
19 lines
No EOL
523 B
Text
import { SERVER_DIRECTORY } from '../../../../shared/lib/constants';
|
|
import path from '../../../../shared/lib/isomorphic/path';
|
|
export class NodeManifestLoader {
|
|
constructor(distDir){
|
|
this.distDir = distDir;
|
|
}
|
|
static require(id) {
|
|
try {
|
|
return require(id);
|
|
} catch {
|
|
return null;
|
|
}
|
|
}
|
|
load(name) {
|
|
return NodeManifestLoader.require(path.join(this.distDir, SERVER_DIRECTORY, name));
|
|
}
|
|
}
|
|
|
|
//# sourceMappingURL=node-manifest-loader.js.map |