Skip to content

Commit

Permalink
fix: change generated output to cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
tinarskii committed Oct 22, 2022
1 parent 458a9b3 commit d042ef6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "An open-source, general purpose discord bot with a lot of commands and utilities",
"main": "src/index.js",
"type": "module",
"type": "commonjs",
"scripts": {
"start": "cd dist && node index",
"format": "prettier -w .",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
// "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */

/* Modules */
"module": "esnext" /* Specify what module code is generated. */,
"module": "commonjs" /* Specify what module code is generated. */,
"rootDir": "src" /* Specify the root folder within your source files. */,
"moduleResolution": "node" /* Specify how TypeScript looks up a file from a given module specifier. */,
"baseUrl": "src" /* Specify the base directory to resolve non-relative module names. */,
Expand Down

0 comments on commit d042ef6

Please sign in to comment.