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 have a webpack app and I'm writing a babel rule. I want to exclude node_modules from being run through babel. However, I want to include some local workspace packages. I can exclude node_modules using exclude: /node_modules/, however, I'm having trouble including a few select packages. I found this regex that I believe would work in a normal case, but it seems to not be working here because berry has a different pathing scheme. Could someone let me know how I could do this in berry with its unique path format?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I have a webpack app and I'm writing a
babel
rule. I want to excludenode_modules
from being run through babel. However, I want to include some local workspace packages. I can excludenode_modules
usingexclude: /node_modules/
, however, I'm having trouble including a few select packages. I found this regex that I believe would work in a normal case, but it seems to not be working here because berry has a different pathing scheme. Could someone let me know how I could do this in berry with its unique path format?Beta Was this translation helpful? Give feedback.
All reactions