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

@@ -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',