-
Notifications
You must be signed in to change notification settings - Fork 16
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
fix(appConfig): Improper path used when importing appConfig #123
Conversation
How does it know which project and file it has to import the constant from? Why doesn't the full path work? |
I noticed when I was working on the appConfig in planning that if I used absolute path, the config overrides (i.e. from client_config) wasn't being applied for some reason. Only when I used the import in the same way client-core did the overrides work |
The webpage resolve module config resolves this reference to the correct file |
It depends on where the config is read. To get I'm still not entirely sure why importing it differently would help. It might be a lucky timing because of the webpack bundling order or that because you are importing it from a different project, you get a fresh new instance of the object which is unpatched with |
I made sure not to use the
I have a theory. It might be because I had |
That might be the issue. Why does planning have a dependency on |
Planning imports some features from |
I'm wondering if making a peer dependency would make it better, in a way that it would enforce a single instance even in dev mode |
No description provided.