Skip to content

Commit

Permalink
generate cjs and not esm for @callumjt
Browse files Browse the repository at this point in the history
Signed-off-by: RedGuy12 <[email protected]>
  • Loading branch information
cobaltt7 committed Oct 14, 2023
1 parent 09b375e commit 59be9f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "strife.js",
"version": "3.0.1",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
Expand Down
5 changes: 2 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"jsx": "preserve",
"lib": ["ESNext", "DOM"],
"maxNodeModuleJsDepth": 0,
"module": "NodeNext",
"module": "CommonJS",
"noEmitOnError": true,
"noErrorTruncation": true,
"noFallthroughCasesInSwitch": true,
Expand All @@ -26,8 +26,7 @@
"sourceMap": false,
"strict": true,
"stripInternal": true,
"target": "ES2021",
"verbatimModuleSyntax": true
"target": "ES2020"
},
"exclude": ["node_modules", ".git", "dist"],
"typeAcquisition": { "enable": true }
Expand Down

0 comments on commit 59be9f9

Please sign in to comment.