Skip to content

Commit

Permalink
fix: update main to point to root index.js file for cjs usage
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleRoss committed Nov 18, 2021
1 parent 1c6376c commit 39a9f43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
"name": "lambda-log",
"version": "4.0.0-beta.1",
"description": "Lightweight logging library for any Node 12+ applications",
"main": "dist/cjs/index.js",
"main": "index.js",
"types": "dist/cjs/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./LambdaLog": {
"import": "./dist/esm/LambdaLog.js",
Expand All @@ -16,6 +15,7 @@
"./LogMessage": {
"import": "./dist/esm/LogMessage.js",
"require": "./dist/cjs/LogMessage.js"
"require": "./index.js"
}
},
"scripts": {
Expand Down

0 comments on commit 39a9f43

Please sign in to comment.