feat: swc register (#1779)

* feat: implements esbuild and removes babel

* chore: implements esbuild-register

* chore: tests passing

* chore: implements @swc/jest for tests

* feat: implements swc

* chore: removes build and relies on swc/register only

* chore: converts some exports

* chore: flattens ts configs

* chore: allows tsx in swc

* chore: converts more exports into js

* chore: restores payload module.exports

* chore: removes unused dependency
This commit is contained in:
James Mikrut
2023-01-04 10:11:26 -05:00
committed by GitHub
parent 82501319ce
commit c11bcd1416
37 changed files with 345 additions and 2065 deletions

View File

@@ -5,6 +5,9 @@ module.exports = {
'**/src/**/*.spec.ts',
'**/test/**/*int.spec.ts',
],
transform: {
'^.+\\.(t|j)sx?$': ['@swc/jest'],
},
globalSetup: './test/jest.setup.ts',
testTimeout: 90000,
moduleNameMapper: {