Skip to content

Commit

Permalink
fix: esm -- run ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthemanuel committed Dec 9, 2024
1 parent 02db483 commit c4dbdd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/data-context/src/data/ProjectConfigIpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ export class ProjectConfigIpc extends EventEmitter {
// best option that leverages the existing modules we bundle in the binary.
// @see ts-node esm loader https://typestrong.org/ts-node/docs/usage/#node-flags-and-other-tools
// @see Node.js Loader API https://nodejs.org/api/esm.html#customizing-esm-specifier-resolution-algorithm
let tsNodeEsmLoader = `--experimental-specifier-resolution=node --loader ${tsNodeEsm}`
let tsNodeEsmLoader = `--no-experimental-require-module --experimental-specifier-resolution=node --loader ${tsNodeEsm}`

// in nodejs 22.7.0, the --experimental-detect-module option is now enabled by default.
// We need to disable it with the --no-experimental-detect-module flag.
Expand Down

0 comments on commit c4dbdd5

Please sign in to comment.