Skip to content

Commit

Permalink
fix(logger): fix ESM compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Mar 14, 2024
1 parent e7b1f9a commit 49fb4ac
Show file tree
Hide file tree
Showing 13 changed files with 73 additions and 12 deletions.
6 changes: 6 additions & 0 deletions packages/connect/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
src
test
tsconfig.compile.json
tsconfig.esm.json
tsconfig.json
*.spec.js
6 changes: 6 additions & 0 deletions packages/file/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
src
test
tsconfig.compile.json
tsconfig.esm.json
tsconfig.json
*.spec.js
6 changes: 6 additions & 0 deletions packages/insight/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
src
test
tsconfig.compile.json
tsconfig.esm.json
tsconfig.json
*.spec.js
6 changes: 6 additions & 0 deletions packages/logentries/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
src
test
tsconfig.compile.json
tsconfig.esm.json
tsconfig.json
*.spec.js
2 changes: 2 additions & 0 deletions packages/logger/.npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
src
test
tsconfig.compile.json
tsconfig.esm.json
tsconfig.json
*.spec.js
17 changes: 5 additions & 12 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,11 @@
"browser": "./lib/browser/logger.umd.js",
"typings": "./lib/types/node/index.d.ts",
"exports": {
".": {
"types": "./lib/types/node/index.d.ts",
"browser": "./lib/browser/logger.umd.js",
"import": "./lib/esm/node/index.js",
"require": "./lib/cjs/node/index.js",
"default": "./lib/esm/node/index.js"
},
"./browser": {
"types": "./lib/types/browser/index.d.ts",
"import": "./lib/browser/logger.mjs",
"browser": "./lib/browser/logger.umd.js"
}
"types": "./lib/types/node/index.d.ts",
"browser": "./lib/browser/logger.umd.js",
"import": "./lib/esm/node/index.js",
"require": "./lib/cjs/node/index.js",
"default": "./lib/esm/node/index.js"
},
"scripts": {
"build": "yarn barrels && yarn run build:esm && yarn run build:cjs && yarn run build:browser",
Expand Down
6 changes: 6 additions & 0 deletions packages/loggly/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
src
test
tsconfig.compile.json
tsconfig.esm.json
tsconfig.json
*.spec.js
6 changes: 6 additions & 0 deletions packages/logstash-http/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
src
test
tsconfig.compile.json
tsconfig.esm.json
tsconfig.json
*.spec.js
6 changes: 6 additions & 0 deletions packages/logstash-udp/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
src
test
tsconfig.compile.json
tsconfig.esm.json
tsconfig.json
*.spec.js
6 changes: 6 additions & 0 deletions packages/rabbitmq/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
src
test
tsconfig.compile.json
tsconfig.esm.json
tsconfig.json
*.spec.js
6 changes: 6 additions & 0 deletions packages/seq/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
src
test
tsconfig.compile.json
tsconfig.esm.json
tsconfig.json
*.spec.js
6 changes: 6 additions & 0 deletions packages/slack/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
src
test
tsconfig.compile.json
tsconfig.esm.json
tsconfig.json
*.spec.js
6 changes: 6 additions & 0 deletions packages/smtp/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
src
test
tsconfig.compile.json
tsconfig.esm.json
tsconfig.json
*.spec.js

0 comments on commit 49fb4ac

Please sign in to comment.