You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use config.json for other settings, it would be nice to have these under a namespace. I've got a local integration I've done where I did the following:
I had to modify patternlab.js, but this worked out well since I was able to make the pattern/data directories more variable too (which they didn't actually appear to be before).
I'm potentially thinking about doing a pull request with this, but I wanted to run by whether or not you'd be willing to accept a pull request that changes the config in this manner since it could break BC unless someone went in and namespaced their old config. I could make it so that it look for lab and if not there falls back to the full config.
The text was updated successfully, but these errors were encountered:
If I understand you correctly, this is causing problems because you are interweaving a patternlab installation with other components, causing two config.json files to be present?
I am in general agreement that we should try to support coexistence when possible. To me, something as simple as calling it patternlab.config.json would suffice. People will likely need to upgrade with major changes coming to pattern lab node for post 1.0 world.
I use
config.json
for other settings, it would be nice to have these under a namespace. I've got a local integration I've done where I did the following:I had to modify patternlab.js, but this worked out well since I was able to make the pattern/data directories more variable too (which they didn't actually appear to be before).
I'm potentially thinking about doing a pull request with this, but I wanted to run by whether or not you'd be willing to accept a pull request that changes the config in this manner since it could break BC unless someone went in and namespaced their old config. I could make it so that it look for lab and if not there falls back to the full config.
The text was updated successfully, but these errors were encountered: