mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-23 06:10:02 +08:00
12 lines
476 B
JavaScript
12 lines
476 B
JavaScript
// The package's own code imports the package by its PUBLISHED name
|
|
// ("selfref") — Node's PACKAGE_SELF_RESOLVE: the nearest package scope's
|
|
// matching "name" answers through its own "exports", regardless of the
|
|
// directory it was installed under (here: node_modules/aliased). The
|
|
// namespace self-import is the benign self-cycle shape.
|
|
import { util } from "selfref/util";
|
|
import * as self from "selfref";
|
|
self;
|
|
export function combined() {
|
|
return "idx+" + util();
|
|
}
|