question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve monorepo support with Babel

See original GitHub issue

Previously, when using rollup-plugin-babel, I could specify { 'rootMode': 'upward' } as a configuration option, as shown below:

image

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:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
wessbergcommented, Jul 28, 2020

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.

0reactions
kripodcommented, May 18, 2020

The project I’ve mentioned before is now released, along with a rollup config to test with.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found