mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
* Implement `import.meta.main` * Update main-test-1.js * Update fs.test.ts --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
8 lines
89 B
JavaScript
8 lines
89 B
JavaScript
import "./main-test-1";
|
|
|
|
if (!import.meta.main) {
|
|
process.exit(1);
|
|
}
|
|
|
|
process.exit(0);
|