You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm npm installing package called valtio that has vanilla export which is accessed in code via
import{someFunc}from"valtio/vanilla"
I specify following esbuild plugin options
optimizeDeps: {include: ['valtio']}
However, valtio package doesn't get bundled. I can achieve what I'm after by changing plugin option to specific import i.e. include: ['valtio/vanilla'].
It would be great if it was possible to provide some sort of wildcard like include: ['valtio/*'] or include all subpaths of package by default maybe?
The text was updated successfully, but these errors were encountered:
I'm npm installing package called
valtio
that has vanilla export which is accessed in code viaI specify following esbuild plugin options
However, valtio package doesn't get bundled. I can achieve what I'm after by changing plugin option to specific import i.e.
include: ['valtio/vanilla']
.It would be great if it was possible to provide some sort of wildcard like
include: ['valtio/*']
or include all subpaths of package by default maybe?The text was updated successfully, but these errors were encountered: