File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 11# CHANGELOG
22
33## 3.0.0
4+ - Add exports in package.json
45- This package is now pure ESM. Please [ read this] ( https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c ) .
56
67## 2.0.1
Original file line number Diff line number Diff line change 1414 "types" : " lib/cjs/index.d.ts" ,
1515 "sideEffects" : false ,
1616 "type" : " module" ,
17+ "exports" : {
18+ "." : {
19+ "types" : " ./lib/esm/index.d.ts" ,
20+ "require" : " ./lib/cjs/index.js" ,
21+ "default" : " ./lib/esm/index.js"
22+ },
23+ "./package.json" : " ./package.json" ,
24+ "./parse" : {
25+ "types" : " ./lib/esm/parse.d.ts" ,
26+ "require" : " ./lib/cjs/parse.js" ,
27+ "default" : " ./lib/esm/parse.js"
28+ }
29+ },
30+ "typesVersions" : {
31+ "*" : {
32+ "parse" : [
33+ " lib/esm/parse.d.ts"
34+ ]
35+ }
36+ },
1737 "files" : [
1838 " CHANGELOG.md" ,
1939 " lib" ,
You can’t perform that action at this time.
0 commit comments