refactor: cleanup rollup configuration in examples
[poolifier.git] / examples / typescript / http-server-pool / express-hybrid / package.json
index 7863d1ca9e8ba5e05c754444f634c1d0e39dc33c..f37384a428a13a46e28bd75fa9168a6693804b46 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"