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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I have a webpack app and I'm writing a
babelrule. I want to excludenode_modulesfrom being run through babel. However, I want to include some local workspace packages. I can excludenode_modulesusingexclude: /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