Power-Maverick / DataverseDevTools-VSCode

The all-in-one tool to develop code for Dataverse/Dynamics 365. Helps you connect to a Dataverse environment, generate TypeScript definitions for entities, create a different type of Dataverse-specific projects, and much more.
https://marketplace.visualstudio.com/items?itemName=danish-naglekar.dataverse-devtools
MIT License
55 stars 15 forks source link

[Bug]: More web resources on the same Form got error #158

Closed fdellacorte closed 4 months ago

fdellacorte commented 5 months ago

What happened?

Hi, your tool is great :). I have a question about to add to different web resources (one file for the Form Script and one for Ribbon) on the same Form (example Account). The tool is build by webpack and it is possible to specify in it only one output.library that give the name to namespace (e.g. "SKT"), this namespace is the same for all web resources. Two methods on the different typescript (e.g. SKT.account_form_library.OnLoad() and SKT.account_ribbon_library.sendAccount()) loaded on the same form, the namespace on second web resource win and override the first, because the script generate by webpack override SKT namespace. Is there any solution to avoid it, example by webpack config ?

thanks

What version of the tool are you using?

2.2.0

What version of Visual Studio Code are you running?

1.86.2

Any relevant session id from VSCode?

No response

Relevant log output

No response

power-maverick-bot[bot] commented 5 months ago

Thanks for opening your first issue here! Please make sure you have given us as much context as possible. One of the repo maintainer will respond as soon as possible.

github-actions[bot] commented 4 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 4 months ago

This issue was closed because it has been stalled for 5 days with no activity.