nx
nx copied to clipboard
feat(expo): support cjs and mjs
Current Behavior
The init script won't support cjs and mjs by default
Expected Behavior
There are some third party libraries are using cjs and mjs, for user's benefits, support cjs and mjs by default.
Related Issue(s)
Fixes #
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated (UTC) |
|---|---|---|---|
| nx-dev | ✅ Ready (Inspect) | Visit Preview | Feb 8, 2024 8:53am |
☁️ Nx Cloud Report
CI is running/has finished running commands for commit 9336b50af001500bb1d7fcb0b288e48ac642b8da. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this CI Pipeline Execution
✅ Successfully ran 6 targets
nx affected --target=e2e --base=aa622bab5abc239a9b51ebcf8cda8b1582cae530 --head=9336b50af001500bb1d7fcb0b288e48ac642b8da --parallel=1nx affected --targets=lint,test,build --base=aa622bab5abc239a9b51ebcf8cda8b1582cae530 --head=9336b50af001500bb1d7fcb0b288e48ac642b8da --parallel=3nx run-many -t check-imports check-commit check-lock-files check-codeowners documentation --parallel=1 --no-dtenx-cloud record -- nx format:check --base=aa622bab5abc239a9b51ebcf8cda8b1582cae530 --head=9336b50af001500bb1d7fcb0b288e48ac642b8danx documentation --no-dtenx affected -t e2e-macos --parallel=1 --base=aa622bab5abc239a9b51ebcf8cda8b1582cae530 --head=9336b50af001500bb1d7fcb0b288e48ac642b8da
Sent with 💌 from NxCloud.
@yzhe554 besides the migration script, could you update the metro.config file at packages/expo/src/generators/application/files/metro.config.js.template and packages/react-native/src/generators/application/files/app/metro.config.js.template?
@yzhe554 besides the migration script, could you update the metro.config file at packages/expo/src/generators/application/files/metro.config.js.template and packages/react-native/src/generators/application/files/app/metro.config.js.template?
Thanks @xiongemi , it's updated.
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.