Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(metro): enableHermes options #120

Merged
merged 11 commits into from
Feb 19, 2025
Merged

feat(metro): enableHermes options #120

merged 11 commits into from
Feb 19, 2025

Conversation

gronxb
Copy link
Owner

@gronxb gronxb commented Feb 19, 2025

Enabling Hermes compiles JavaScript to bytecode, improving performance and memory efficiency. If you’re using Hermes, it is recommended to enable this flag.

https://reactnative.dev/docs/hermes

import { metro } from "@hot-updater/metro";
import { defineConfig } from "hot-updater";
import "dotenv/config";

export default defineConfig({
  build: metro({
    enableHermes: true,
  }),
  ...
});

@gronxb gronxb changed the title feat(metro): useHermes options feat(metro): enableHermes options Feb 19, 2025
@gronxb gronxb merged commit e697756 into main Feb 19, 2025
1 check passed
@gronxb gronxb deleted the feature/metro-use-hermes branch February 19, 2025 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant