For example, package arch has two entry points: main and browser.
For this kind of package, how should we adapt vite? Should we use Nested conditions as below?
{
"main": "./main.js",
"exports": {
"browser": "./feature-browser.mjs",
"node": {
"import": "./feature-node.mjs",
"require": "./feature-node.cjs"
}
}
}