build: use node.js builtin source maps support
[poolifier.git] / examples / typescript / http-server-pool / fastify-hybrid / package.json
index d4e8fa44726207032bf813216cec5f406509ee8d..fa57d6c0f079a272d1e6beed853829b5514c0761 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"