When migrating our project to esm, we encountered an issue with the playright plugin, but more generally with the `loadConfigFile` from the devkit. Our configuration is a `.cts` file, but it's not treated as commonjs: `__dirname` and `__filename` are not available.  ## Expected Behavior `.cts` files are interpreted as commonJS files when in a module context. --------- Co-authored-by: Jack Hsu <jack.hsu@gmail.com>