fix: webpack needs its own export condition (#5833)

This commit is contained in:
Bob Ippolito
2024-04-05 03:06:01 -07:00
committed by GitHub
parent e57f518d87
commit 1c46eb63f8
24 changed files with 103 additions and 0 deletions

View File

@ -79,6 +79,7 @@ function exportEntry(file, types) {
/* eslint-disable sort-keys-fix/sort-keys-fix */
import: {
types: `./${types}`,
webpack: `./${withEsmExtension(file)}`,
node: `./${withNodeEsmExtension(file)}`,
default: `./${withEsmExtension(file)}`,
},