build: switch default to ESM
[poolifier.git] / src / worker / cluster-worker.ts
index d972692ec6eb4f182479cac008c47a1f20b75d8d..fa810c7e66451ba978320ab887c8073c74214a88 100644 (file)
@@ -1,8 +1,8 @@
 import cluster, { type Worker } from 'node:cluster'
-import type { MessageValue } from '../utility-types'
-import { AbstractWorker } from './abstract-worker'
-import type { WorkerOptions } from './worker-options'
-import type { TaskFunction, TaskFunctions } from './task-functions'
+import type { MessageValue } from '../utility-types.js'
+import { AbstractWorker } from './abstract-worker.js'
+import type { WorkerOptions } from './worker-options.js'
+import type { TaskFunction, TaskFunctions } from './task-functions.js'
 
 /**
  * A cluster worker used by a poolifier `ClusterPool`.