Replies: 1 comment 2 replies
-
it seems that |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm trying to migrate from babel to swc in a monorepo using lerna with yarn workspaces. I don't want to duplicate the
.swrc
files in every nested package and I'm trying to use the one from the root folder. I do not want to pass relative paths as the level of nesting may be variable. With babel I can use--root-mode upward
and all the config files will be searched in the root. This feature seem to be available and documented in swc https://github.com/swc-project/swc/blob/master/node-swc/src/types.ts#L90, but passing the option on the command line results inerror: unknown option '--root-mode'
, what is the correct way to provide it?Beta Was this translation helpful? Give feedback.
All reactions