Fix sourcemaps

This commit is contained in:
Adria Navarro 2023-05-22 12:06:52 +02:00
parent a24c4eb320
commit 5fd32618be
2 changed files with 4 additions and 10 deletions

View File

@ -6,5 +6,5 @@
"src/**/*.spec.js", "src/**/*.spec.js",
"../backend-core/dist/**/*" "../backend-core/dist/**/*"
], ],
"exec": "yarn build && node dist/index.cjs" "exec": "yarn build && node dist/index.js"
} }

View File

@ -21,17 +21,11 @@
"esbuildOptions": { "esbuildOptions": {
"outExtension": { "outExtension": {
".js": ".js" ".js": ".js"
} },
"sourcemap": true
}, },
"minify": true,
"generatePackageJson": true "generatePackageJson": true
},
"configurations": {
"development": {
"minify": false
},
"production": {
"minify": true
}
} }
} }
} }