Skip to content

Commit

Permalink
Merge pull request #5 from Mike96Angelo/v2-proposal
Browse files Browse the repository at this point in the history
use CommonJS module for better node support
  • Loading branch information
Mike96Angelo committed Feb 25, 2023
2 parents ea488c0 + f9f3eab commit b27929c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "variant-match",
"version": "2.0.1",
"version": "2.0.2",
"description": "Brings variant match pattern to TypeScript.",
"type": "module",
"main": "mod.js",
"scripts": {
"test": "jest"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */

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

0 comments on commit b27929c

Please sign in to comment.