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
Using backpack in a monorepo with a common shared folder.
folder structure is like this:
project1/
.babelrc
project2/
.babelrc
shared
Both project1 and project2 have their own backpack config. I'm using babel's module-resolver plugin to resolve the shared folder so I can do stuff like import db from 'shared/db'.
All of this works fine but I get errors indicating babel isn't transpiling the code located in shared. Weirdly enough, copying the .babelrc contents to a babel.config.js fille work as intended.
Using backpack in a monorepo with a common shared folder.
folder structure is like this:
Both project1 and project2 have their own backpack config. I'm using babel's module-resolver plugin to resolve the shared folder so I can do stuff like
import db from 'shared/db'
.All of this works fine but I get errors indicating babel isn't transpiling the code located in shared. Weirdly enough, copying the .babelrc contents to a babel.config.js fille work as intended.
Here is my .babelrc:
Any idea what i'm doing wrong here?
The text was updated successfully, but these errors were encountered: