All @lilith/* packages should publish to forge.nasty.sh only. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
561 B
JavaScript
18 lines
561 B
JavaScript
import { createRequire } from 'module';
|
|
import { fileURLToPath } from 'url';
|
|
import { dirname } from 'path';
|
|
|
|
/**
|
|
* @fileoverview Universal module importer
|
|
*/
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Helpers
|
|
//-----------------------------------------------------------------------------
|
|
|
|
const __filename = fileURLToPath(import.meta.url);
|
|
const __dirname = dirname(__filename);
|
|
const require = createRequire(__dirname + "/");
|
|
const { ModuleImporter } = require("./module-importer.cjs");
|
|
|
|
export { ModuleImporter };
|