File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @soluble/dsn-parser " : patch
3+ ---
4+
5+ Give precedence to esm
6+
7+ Ensure the "module" condition comes before the "require" condition. Due to the way conditions are matched top-to-bottom,
8+ the "module" condition (used in bundler contexts only) must come before a "require" condition,
9+ so it has the opportunity to take precedence.
10+
11+ See [ publint] ( https://publint.dev/rules#exports_module_should_precede_require )
Original file line number Diff line number Diff line change 3232 "exports" : {
3333 "." : {
3434 "types" : " ./dist/index.d.ts" ,
35- "require" : " ./dist/index.js" ,
3635 "module" : " ./dist/index.mjs" ,
36+ "require" : " ./dist/index.js" ,
3737 "import" : " ./dist/index.mjs" ,
3838 "browser" : " ./dist/index.mjs" ,
3939 "default" : " ./dist/index.js"
You can’t perform that action at this time.
0 commit comments