citizen: implement Implement: Entry point
This commit is contained in:
parent
ddba00a7a2
commit
de53580776
9
src/index.mjs
Normal file
9
src/index.mjs
Normal file
@ -0,0 +1,9 @@
|
||||
// Standardized JavaScript entrypoint for: Entry point. CRITICAL: This file MUST import fro
|
||||
|
||||
export function main() {
|
||||
return { ok: true, topic: "Entry point. CRITICAL: This file MUST import fro" };
|
||||
}
|
||||
|
||||
if (import.meta.url === `file://${process.argv[1]}`) {
|
||||
console.log(main());
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user