Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
## [Unreleased]
+### Fixed
+
+- Fix `exports` syntax for ESM and CommonJS.
+
## [2.3.10-1] - 2023-03-18
### Changed
"version": "2.3.10-1",
"description": "A fast, easy to use Node.js Worker Thread Pool and Cluster Pool implementation",
"license": "MIT",
- "main": "lib/index.js",
+ "main": "./lib/index.js",
"exports": {
".": {
- "require": "lib/index.js",
- "import": "lib/index.mjs"
+ "require": "./lib/index.js",
+ "import": "./lib/index.mjs"
}
},
"scripts": {