Conversation
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
|
Cursor Agent can help with this pull request. Just |
✅ Deploy Preview for module-federation-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
@module-federation/devtools
@module-federation/cli
create-module-federation
@module-federation/data-prefetch
@module-federation/dts-plugin
@module-federation/enhanced
@module-federation/error-codes
@module-federation/esbuild
@module-federation/managers
@module-federation/manifest
@module-federation/metro
@module-federation/metro-plugin-rnc-cli
@module-federation/metro-plugin-rnef
@module-federation/modern-js
@module-federation/modern-js-v3
@module-federation/native-federation-tests
@module-federation/native-federation-typescript
@module-federation/nextjs-mf
@module-federation/node
@module-federation/retry-plugin
@module-federation/rsbuild-plugin
@module-federation/rspack
@module-federation/rspress-plugin
@module-federation/runtime
@module-federation/runtime-core
@module-federation/runtime-tools
@module-federation/sdk
@module-federation/storybook-addon
@module-federation/third-party-dts-extractor
@module-federation/treeshake-frontend
@module-federation/treeshake-server
@module-federation/typescript
@module-federation/utilities
@module-federation/webpack-bundler-runtime
@module-federation/bridge-react
@module-federation/bridge-react-webpack-plugin
@module-federation/bridge-shared
@module-federation/bridge-vue3
@module-federation/inject-external-runtime-core-plugin
commit: |
Bundle Size Report2 package(s) changed, 39 unchanged.
Total dist: 6.38 MB (+5.8 kB (+0.1%)) |
Android Release APK for all devicesNote: if the download link expires, please re-run the workflow to generate a new build. Generated at 2026-02-15T22:38:19.776Z UTC |
iOS Release APP for simulatorsNote: if the download link expires, please re-run the workflow to generate a new build. Generated at 2026-02-15T22:41:03.386Z UTC |
|
|
||
| describe('createBabelTransformer', () => { | ||
| it('escapes Windows paths for require()', () => { | ||
| const tmpDirPath = fs.mkdtempSync(path.join(os.tmpdir(), 'mf-metro-')); |
packages/metro-core/project.json
Outdated
| }, | ||
| "test": { | ||
| "executor": "@nx/jest:jest", | ||
| "outputs": ["{workspaceRoot}/coverage/packages/metro-core"], | ||
| "options": { | ||
| "jestConfig": "packages/metro-core/jest.config.ts", | ||
| "passWithNoTests": true | ||
| } |
There was a problem hiding this comment.
needs aligning with main, uses vitest now
Keep metro-core on the vitest Nx executor and remove the stale jest target. Switch babel-transformer Windows path tests to memfs-backed file operations. Co-authored-by: Cursor <cursoragent@cursor.com>
…path-resolution-47f0
Description
Fixes an issue where Babel transformer paths were incorrectly handled on Windows due to invalid backslash escapes. This is resolved by:
require(...)without quotes for safe path replacement.metro-coreto validate Windows path escaping.Related Issue
No explicit issue provided, addresses a general "fix this" request related to Windows path handling.
Types of changes
Checklist