// src/actions/package/compile/inputs.ts
import chalk from "chalk";
import { glob } from "glob";
var getAllInputs = (srcDir, verbose = false) => {
  return glob.sync(`${srcDir}/**/*.{ts,tsx,mts,cts}`, { posix: true }).map((file) => {
    const result = file.slice(Math.max(0, srcDir.length + 1));
    if (verbose) {
      console.log(chalk.gray(`getAllInputs: ${JSON.stringify(result, null, 2)}`));
    }
    return result;
  });
};
export {
  getAllInputs
};
//# sourceMappingURL=inputs.mjs.map
