Skip to content

Commit

Permalink
fix: esm exports in package.json files
Browse files Browse the repository at this point in the history
Fix #308
  • Loading branch information
ushi-as authored and wdavidw committed Dec 13, 2021
1 parent 8ea0657 commit c48fe47
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/csv-generate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"import": "./lib/sync.js",
"require": "./dist/cjs/sync.cjs"
},
"./browser/esm/": "./dist/esm/"
"./browser/esm/*": "./dist/esm/*.js"
},
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/csv-parse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"import": "./lib/sync.js",
"require": "./dist/cjs/sync.cjs"
},
"./browser/esm/": "./dist/esm/"
"./browser/esm/*": "./dist/esm/*.js"
},
"devDependencies": {
"@rollup/plugin-eslint": "^8.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/csv-stringify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"import": "./lib/sync.js",
"require": "./dist/cjs/sync.cjs"
},
"./browser/esm/": "./dist/esm/"
"./browser/esm/*": "./dist/esm/*.js"
},
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/csv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"import": "./lib/sync.js",
"require": "./dist/cjs/sync.cjs"
},
"./browser/esm/": "./dist/esm/"
"./browser/esm/*": "./dist/esm/*.js"
},
"homepage": "https://csv.js.org/",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/stream-transform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"import": "./lib/sync.js",
"require": "./dist/cjs/sync.cjs"
},
"./browser/esm/": "./dist/esm/"
"./browser/esm/*": "./dist/esm/*.js"
},
"files": [
"dist",
Expand Down

0 comments on commit c48fe47

Please sign in to comment.