Skip to content

Commit

Permalink
feat(#19): first implementation of swc
Browse files Browse the repository at this point in the history
  • Loading branch information
barthofu authored Aug 17, 2022
1 parent 1a7ce98 commit 152fc2c
Show file tree
Hide file tree
Showing 5 changed files with 10,521 additions and 33 deletions.
29 changes: 29 additions & 0 deletions .swcrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"jsc": {
"parser": {
"syntax": "typescript",
"tsx": false,
"decorators": true,
"dynamicImport": true
},
"target": "es2021",
"baseUrl": ".",
"paths": {
"@types": ["src/utils/types"],
"@decorators": ["src/utils/decorators"],
"@errors": ["src/utils/errors"],
"@entities": ["src/entities"],
"@guards": ["src/guards"],
"@services": ["src/services"],
"@i18n": ["src/i18n"],
"@config": ["src/config"],

"@core/*": ["src/core/*"],
"@utils/*": ["src/utils/*"],
"@api/*": ["src/api/*"]
}
},
"module": {
"type": "commonjs"
}
}
Loading

0 comments on commit 152fc2c

Please sign in to comment.