perf: workaround ESM issue with cluster
[poolifier.git] / benchmarks / benchmarks-types.js
similarity index 70%
rename from benchmarks/benchmarks-types.mjs
rename to benchmarks/benchmarks-types.js
index 69ccce0dc771eb482a1d2bb1a81cc29ef4331f10..eaaf05d1be4df25ed55259d5878f26ff39c00bc1 100644 (file)
@@ -1,6 +1,8 @@
-export const TaskFunctions = {
+const TaskFunctions = {
   jsonIntegerSerialization: 'jsonIntegerSerialization',
   fibonacci: 'fibonacci',
   factorial: 'factorial',
   readWriteFiles: 'readWriteFiles'
 }
+
+module.exports = { TaskFunctions }