generate = async (entry, options = {}) => {
  const entryPath = url.fileURLToPath(new URL(entry, import.meta.url));
  return bundleSource(entryPath, { format: 'endoScript', ...options });
}
@param {string} entry
@param {import('../src/types.js').BundleOptions<'endoScript'>} options