build: use node.js builtin source maps support
[poolifier.git] / examples / typescript / http-server-pool / fastify-cluster / package.json
index 007aea485f13d33f6d7346bb363273738805b00a..8b0d3623b641b8fd1ccd4cc6502ddaee95bda8ab 100644 (file)
@@ -11,8 +11,8 @@
   },
   "scripts": {
     "build": "rollup --config --configPlugin typescript",
-    "start": "node dist/main.cjs",
-    "start:esm": "node dist/main.js",
+    "start": "node --enable-source-maps dist/main.cjs",
+    "start:esm": "node --enable-source-maps 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"