Latest commit to loadProjectConfig.js causes windows config file name to be converted to a url twice #1107
Labels
status:confirmed
The issue has been reviewed and all necessary information is provided.
type:bug
A bug report.
Describe the bug
This contains a call to _nodeUrl.default.pathToFileURL(configFilePath) which duplicates a call in discoverConfigFilePath line 19 for windows machines.
https://github.com/callstack/repack/blame/main/packages/repack/src/commands/common/config/loadProjectConfig.ts
This results in the config file path being converted to a URL twice.
System Info
Re.Pack Version
5.0.5
Reproduction
https://github.com/callstack/repack/issues
Steps to reproduce
Just try to build with any windows machine and an es module config file (.mjs)
The text was updated successfully, but these errors were encountered: