build: switch default to ESM
[poolifier.git] / src / pools / selection-strategies / fair-share-worker-choice-strategy.ts
index aff4e73dd3a6e5a641a626e153f39bd796b32108..c6b87ade001759855115117d155a170a2e104c08 100644 (file)
@@ -1,13 +1,13 @@
-import { DEFAULT_MEASUREMENT_STATISTICS_REQUIREMENTS } from '../../utils'
-import type { IPool } from '../pool'
-import type { IWorker, StrategyData } from '../worker'
-import { AbstractWorkerChoiceStrategy } from './abstract-worker-choice-strategy'
+import { DEFAULT_MEASUREMENT_STATISTICS_REQUIREMENTS } from '../../utils.js'
+import type { IPool } from '../pool.js'
+import type { IWorker, StrategyData } from '../worker.js'
+import { AbstractWorkerChoiceStrategy } from './abstract-worker-choice-strategy.js'
 import {
   type IWorkerChoiceStrategy,
   type InternalWorkerChoiceStrategyOptions,
   Measurements,
   type TaskStatisticsRequirements
-} from './selection-strategies-types'
+} from './selection-strategies-types.js'
 
 /**
  * Selects the next worker with a fair share scheduling algorithm.