diff --git a/package.json b/package.json index 42ae2a0..94a3c60 100644 --- a/package.json +++ b/package.json @@ -233,8 +233,8 @@ "node": { "types": "./edition-types/index.d.ts", "import": "./edition-es2022-esm/index.js", - "default": "./index.cjs", - "require": "./edition-es2022/index.js" + "require": "./edition-es2022/index.js", + "default": "./index.cjs" }, "browser": { "types": "./edition-types/index.d.ts", diff --git a/source/index.ts b/source/index.ts index 0ff55f1..549d3c1 100644 --- a/source/index.ts +++ b/source/index.ts @@ -31,6 +31,7 @@ const list = [ 'cfm', 'cfml', 'cgi', + 'cjs', 'clj', 'cls', 'cmake',