chore: adds sourcemaps for swc register

This commit is contained in:
Jarrod Flesch
2023-01-04 13:53:33 -05:00
parent 38b8423150
commit 206d0c2c2a
4 changed files with 1731 additions and 1686 deletions

View File

@@ -18,6 +18,7 @@ const loadConfig = (logger?: pino.Logger): SanitizedConfig => {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
swcRegister({
sourceMaps: 'inline',
jsc: {
parser: {
syntax: 'typescript',

View File

@@ -21,7 +21,7 @@ process.env.PAYLOAD_CONFIG_PATH = configPath;
process.env.PAYLOAD_DROP_DATABASE = 'true';
swcRegister({
sourceMaps: true,
sourceMaps: 'inline',
jsc: {
parser: {
syntax: 'typescript',

View File

@@ -41,4 +41,4 @@
"node_modules",
".eslintrc.js"
]
}
}

3412
yarn.lock

File diff suppressed because it is too large Load Diff