Skip to content

Commit

Permalink
target esmodules
Browse files Browse the repository at this point in the history
BREAKING: NodeJS 16 minimum

Closes #1701
  • Loading branch information
ThatOneCalculator committed Sep 22, 2023
1 parent 3e25ad3 commit b73a654
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .swcrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"jsc": {
"target": "es5",
"target": "es2022",
"parser": {
"syntax": "typescript",
"tsx": false,
Expand All @@ -13,7 +13,7 @@
"keepClassNames": true
},
"module": {
"type": "commonjs"
"type": "es6"
},
"minify": false,
"sourceMaps": false
Expand Down
4 changes: 2 additions & 2 deletions megalodon/.swcrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"jsc": {
"target": "es5",
"target": "es2022",
"parser": {
"syntax": "typescript",
"tsx": false,
Expand All @@ -13,7 +13,7 @@
"keepClassNames": true
},
"module": {
"type": "commonjs"
"type": "es6"
},
"minify": false,
"sourceMaps": false
Expand Down

0 comments on commit b73a654

Please sign in to comment.