Improve monorepo support with Babel
See original GitHub issuePreviously, when using rollup-plugin-babel
, I could specify { 'rootMode': 'upward' }
as a configuration option, as shown below:
Unfortunately, rollup-plugin-ts
doesn’t seem to honor that option at this time, so I have to specify the location of the babel.config.js
file in my repository root manually, with babelConfig: '../..'
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to Configure Babel For Your Monorepo
In this post join me as I add Babel configuration to a monorepo, making sure that it can sustain different configurations packages need...
Read more >Monorepo setup with Lerna, TypeScript, Babel 7 and other
This step is the most important one on the repository creation stage as it would impact how do we publish/tags our packages. Lerna...
Read more >javascript - Trying to configure Babel in a monorepo project
To have a custom config for babel in create-react-app , you need to first eject and work on the config directly after that....
Read more >11 Great Tools for a Monorepo in 2021 | Bits and Pieces
Probably the best tools to develop and build your monorepo. These days, many tools can run ... I hope this can help you...
Read more >create-babel-typescript-monorepo - npm
Create Lerna monorepo with Babel + TypeScript configuration.. Latest version: 1.1.0, last published: 2 years ago.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey there!
I don’t know why it took me so long to address this issue, but it has been fixed as part of v1.2.30. I recommend reading the release notes if you would like to have insight into why it didn’t work before.
The project I’ve mentioned before is now released, along with a rollup config to test with.