Marketplace móvil para negocios locales mexicanos. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React Web) - apps/mobile (Expo/React Native) - apps/mcp-server (Claude MCP Server) - apps/whatsapp-service (WhatsApp Business API) - database/ (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
10 lines
467 B
JavaScript
10 lines
467 B
JavaScript
const {pathToFileURL} = require('url');
|
|
|
|
// Hack to avoid Module.runMain on node 18.6.0
|
|
// Keeping it simple for now, isolated in this file.
|
|
// Could theoretically probe `getFormat` impl to determine if `import()` or `Module._load()` is best
|
|
// Note that I attempted a try-catch around `Module._load`, but it poisons some sort of cache such that subsequent `import()` is impossible.
|
|
exports.run = function(entryPointPath) {
|
|
import(pathToFileURL(entryPointPath));
|
|
}
|