Skip to content

Commit

Permalink
I broke ts-node - it needs a module:commonjs override, see TypeStrong…
Browse files Browse the repository at this point in the history
  • Loading branch information
mindplay-dk committed Mar 23, 2022
1 parent 8f3f21a commit 5f5a4b9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tsconfig.json
@@ -1,6 +1,11 @@
{
"include": ["src"],
"exclude": ["dist"],
"ts-node": {
"compilerOptions": {
"module": "commonjs" /* enables running the test with ts-node */
}
},
"compilerOptions": {
/* TODO review and adjust settings */

Expand All @@ -15,7 +20,7 @@
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */

/* Language and Environment */
"target": "es2020", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"target": "esnext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
// "jsx": "preserve", /* Specify what JSX code is generated. */
// "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
Expand Down

0 comments on commit 5f5a4b9

Please sign in to comment.