1ab7c5946e
This PR fixes a long standing issue where stacktraces in the built executable didn't have line and column numbers, so you were left wondering where exactly in a given function an error occurred. This also fixes source maps being generated but not actually included in the executable, this fix results in `source-map-support` actually doing it's job, so now stacktrace paths point to the typescript files, line and column number, instead of the transpiled javascript line and column number. Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/153 Co-authored-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com> Co-committed-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com>
12 lines
169 B
JSON
12 lines
169 B
JSON
{
|
|
"pkg": {
|
|
"scripts": [
|
|
"obj/**/*.js"
|
|
],
|
|
"assets": [
|
|
"obj/**/*.js.map",
|
|
"package.json"
|
|
]
|
|
}
|
|
}
|