2026-03-17 23:35:39 -05:00
|
|
|
import path from "node:path";
|
2026-03-20 09:30:16 +01:00
|
|
|
import { pathToFileURL } from "node:url";
|
|
|
|
|
import { main } from "./check-native-plugin-plugin-sdk-boundary.mjs";
|
2026-03-17 23:35:39 -05:00
|
|
|
|
2026-03-20 09:30:16 +01:00
|
|
|
export * from "./check-native-plugin-plugin-sdk-boundary.mjs";
|
2026-03-17 23:35:39 -05:00
|
|
|
|
2026-03-20 09:30:16 +01:00
|
|
|
const entryHref = process.argv[1] ? pathToFileURL(path.resolve(process.argv[1])).href : "";
|
2026-03-17 23:35:39 -05:00
|
|
|
|
2026-03-20 09:30:16 +01:00
|
|
|
if (import.meta.url === entryHref) {
|
2026-03-17 23:35:39 -05:00
|
|
|
await main();
|
|
|
|
|
}
|