Skip to content

Commit d6d0f57

Browse files
committed
Add "module" exports condition to the package.json
I found out that Rollup will nowadays prefer the exports field over the top-level module field if both are present.
1 parent 9fded0c commit d6d0f57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"exports": {
2323
".": {
2424
"import": {
25+
"module": "./modules/index-all.js",
2526
"browser": {
2627
"production": "./underscore-esm-min.js",
2728
"default": "./underscore-esm.js"

0 commit comments

Comments
 (0)