Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

circular dependencies and broken build in yarn workspaces #2991

Open
johannes-z opened this issue Jul 11, 2019 · 3 comments
Open

circular dependencies and broken build in yarn workspaces #2991

johannes-z opened this issue Jul 11, 2019 · 3 comments

Comments

@johannes-z
Copy link
Contributor

  • Rollup Version: 1.16.7
  • Operating System (or Browser): Edge Chromium 77.0.211.2
  • Node Version: 11.13.0

How Do We Reproduce?

Use yarn workspaces, yarn install and try to build the package with rollup. I receive a lot of Circular dependency warnings and the build is broken (Maximum stack size exceeded).

Actual Behavior

The same project works perfectly outside of a yarn workspace. As soon as I mark as a yarn workspace, rollup doesn't seem to be able to handle it anymore... I also tried the preserveSymlinks in all variations without any luck.

@TrySound
Copy link
Member

Which project are you talking about?

@johannes-z
Copy link
Contributor Author

My own. I will be able to provide a repro tomorrow.

@johannes-z
Copy link
Contributor Author

This is the repo: https://github.com/johannes-z/rollup-monorepo-circular-deps
I think I already found the culprit. It's the package @vue/babel-preset-app. As soon as I install this package and use it in my babel config, I get this error. Is this a bug of rollup-plugin-babel? I didn't find any information regarding symlink resolution with this package...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants