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>
{{links}}
Nx: Smart Monorepos · Fast CI
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
This package contains a set of utilities for creating Nx plugins.
{{content}}