build: switch default to ESM
[poolifier.git] / benchmarks / internal / thread-worker.mjs
index b0994e77bd1af7183f98559481e43fdaf7ec92bb..92508dd887c80e7f6c210d87dec673c0b8952ee3 100644 (file)
@@ -1,7 +1,7 @@
 import { isMainThread } from 'node:worker_threads'
 import { ThreadWorker } from '../../lib/index.mjs'
-import { executeTaskFunction } from '../benchmarks-utils.js'
-import { TaskFunctions } from '../benchmarks-types.js'
+import { executeTaskFunction } from '../benchmarks-utils.cjs'
+import { TaskFunctions } from '../benchmarks-types.cjs'
 
 const taskFunction = data => {
   data = data || {}