-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Importing components from another package #3689
Comments
It seems to be related to #3547 |
After 7 hours of reading a lot of issues, and docs. module.exports = {
// ...
resolve: {
symlinks: false,
// ...
}
// ...
} I got the error because babel ignores ps: |
Or I still can keep them separate in different repos. |
Why |
We just don't have a good story around symlinks right now. I don't think what you're describing was/is currently supported. |
I'll close as a duplicate of #3547. |
this is old question , but you can use this repository : http://github.com/nimahkh/react-all-in-one-package it helps me |
Hello folks!
I'm trying to make kind of living style guide and common components. That will be used in more projects.
I am using create-react-app and storybook. Development works well.
Then I
npm install git+ssh://git@...
repo into my actual project.Problem appears when I try to import a component from that style guide. I get
If i'm importing a simple function from my package, that does not use
react
, it works.I added
react
andreact-dom
aspeer
anddev
dependencies so I can do development and use version ofreact
from my project.My components are not compiled to any
cjs
es
umd
style-patterns/package.json
depsmy-project/package.json
depsDoes anyone meet this problem?
The text was updated successfully, but these errors were encountered: