// Minimal fs module implementation for browser
const fs = {
  readFileSync: () => {
    throw new Error("fs.readFileSync is not supported in browser");
  },
  writeFileSync: () => {
    throw new Error("fs.writeFileSync is not supported in browser");
  },
  existsSync: () => false,
  mkdirSync: () => {},
  readdirSync: () => [],
  statSync: () => ({
    isDirectory: () => false,
    isFile: () => false,
  }),
};

export default fs;
