forcedotcom / lwc-dev-server-feedback

LWC Local Development
BSD 3-Clause "New" or "Revised" License
45 stars 10 forks source link

@salesforce/lwc-dev-server doesn't support multiple directories and sfdx multiple packages #147

Open Dietermartens opened 1 year ago

Dietermartens commented 1 year ago

We are trying to use the local dev server in our SFDX project which has one utility package and one main package. The utility package is configured in SFDX to be pushed before the main one with the param "pushPackageDirectoriesSequentially".

Our main package has a directory structure "force-app/main" as root. In the main folder, there is a default directory for the base metadata and then a directory for each "app".

The @salesforce/lwc-dev-server doesn't list any component that is not in the "main/default" folder and can not load any reference to the utils package or other components that are not in the "main/default" folder.

We would assume that the supported folder structure of SFDX would be supported in the local dev env as well.

github-actions[bot] commented 1 year ago

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

stale[bot] commented 1 year ago

This issue has been automatically marked as type:bug-p3 because it has not had recent activity.