Open devjiwonchoi opened 9 months ago
Was thinking of the same thing few days ago, but found that I need to rewrite the exports parser to make it work. Current composition of different conditions are not very ideal.
Also need to avoid minification being applied to some optimize condition like “development”
I see. Maybe later when handling the exports are rewritten?
This should be available to do now, we can only apply this for bundle files configured in exports
field. But we don't apply it to CLI
Got it, will take a look shortly!
Example
package.json
CLI
I'd love to contribute.