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

Agadoo doesn't work with Yarn workspaces #6

Open
Kmaschta opened this issue Sep 7, 2018 · 0 comments
Open

Agadoo doesn't work with Yarn workspaces #6

Kmaschta opened this issue Sep 7, 2018 · 0 comments

Comments

@Kmaschta
Copy link

Kmaschta commented Sep 7, 2018

Hi. This package idea is excellent!

Sadly, I have a small issue: I can't use this lib inside a Yarn workspace because it get the wrong package.json.

Say I have the following tree:

  • package.json
  • packages/
    • mylib/
      • package.json

If I run agadoo on for mylib like:

cd packages/mylib
yarn add -D agadoo
./node_module/.bin/agadoo

If get the following error message:

'PWD/packages/mylib' is imported by virtual:__agadoo__, but could not be resolved – treating it as an external dependency
import './';

Failed to tree-shake 

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

1 participant