diff --git a/packages/worker/nodemon.json b/packages/worker/nodemon.json index 3e2e5f0740..d92cfe22b5 100644 --- a/packages/worker/nodemon.json +++ b/packages/worker/nodemon.json @@ -6,5 +6,5 @@ "src/**/*.spec.js", "../backend-core/dist/**/*" ], - "exec": "yarn build && node dist/index.cjs" + "exec": "yarn build && node dist/index.js" } diff --git a/packages/worker/project.json b/packages/worker/project.json index 2380b6d649..f5c439f489 100644 --- a/packages/worker/project.json +++ b/packages/worker/project.json @@ -21,17 +21,11 @@ "esbuildOptions": { "outExtension": { ".js": ".js" - } + }, + "sourcemap": true }, + "minify": true, "generatePackageJson": true - }, - "configurations": { - "development": { - "minify": false - }, - "production": { - "minify": true - } } } }