refactor: cleanup rollup configuration in examples
[poolifier.git] / examples / typescript / http-server-pool / express-cluster / package.json
index 88a177b7587ad4603b527ba50c5683e240b085be..56c977bcc799373234854949951b4b9de2c30a2f 100644 (file)
@@ -12,7 +12,7 @@
   "scripts": {
     "build": "rollup --config",
     "start": "node dist/main.cjs",
-    "start:esm": "node dist/main.mjs",
+    "start:esm": "node dist/main.js",
     "test": "echo \"Error: no test specified\" && exit 1",
     "benchmark:echo": "autocannon -c 100 -d 30 -p 10 -m POST -H Content-Type=application/json -b '{\"key1\":\"value1\", \"key2\":\"value2\"}' http://localhost:8080/api/echo",
     "benchmark:factorial": "autocannon -c 100 -d 30 -p 10 http://localhost:8080/api/factorial/30"