Created
January 27, 2023 14:04
-
-
Save tyom/02663820bd0e287ad04e783b7f7a5100 to your computer and use it in GitHub Desktop.
Require in ESM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createRequire } from 'module' | |
const require = createRequire(import.meta.url) | |
export const expoConfig = require('/package.json') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment