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
Is there any context that might help us understand?
In our app, we have additional co-located files alongside our components (e.g. for testing) but without being able to change the fileFormat setting, it fails our build due to it outputting irrelevant files in the generated componentBuilder file (and things such as test globals like describe are not being explicitly imported so fail).
I've had to patch-package a regex setting change to work around this issue but it would be much better to just configure the settings directly in the app (i.e. in scripts/generate-component-builder/plugins/component-builder.ts) but I can't.
Does the docs page already exist? Please link to it.
No response
The text was updated successfully, but these errors were encountered:
@sc-addypathania possibly I've raised the wrong thing here - this is a tech improvement. I must have only read the "Update or Improvement" bit of "Docs Request for an Update or Improvement" and assumed that was what I needed to press. I can see the label doesn't really match the request; do I need to raise a new issue or can this be re-labelled as the correct thing?
What is the improvement or update you wish to see?
In sitecore-jss-dev-tools/src/templating/utils.ts there are settings for finer control over how items are retrieved yet these settings are not configurable beyond their internal usages (e.g. in sitecore-jss-dev-tools/src/templating/components.ts). It would be massively helpful if these could be configured from the application directly (e.g. via generateComponentBuilder).
Is there any context that might help us understand?
In our app, we have additional co-located files alongside our components (e.g. for testing) but without being able to change the
fileFormat
setting, it fails our build due to it outputting irrelevant files in the generatedcomponentBuilder
file (and things such as test globals likedescribe
are not being explicitly imported so fail).I've had to
patch-package
a regex setting change to work around this issue but it would be much better to just configure the settings directly in the app (i.e. inscripts/generate-component-builder/plugins/component-builder.ts
) but I can't.Does the docs page already exist? Please link to it.
No response
The text was updated successfully, but these errors were encountered: