Replies: 3 comments 1 reply
-
|
Hi @dmcweeney , |
Beta Was this translation helpful? Give feedback.
-
|
HI @dmcweeney, Steps:
The {
"Version": "1",
"ExternalReferences": [
{
"Source": "../../out/account.js",
"Target": "greg_account.js",
"Type": "Script"
},
{
"Source": "../../out/contact.js",
"Target": "greg_contact.js",
"Type": "Script"
}
]
}Where:
Try it out and let me know what do you think about it! |
Beta Was this translation helpful? Give feedback.
-
|
@neronotte, this looks good - many thanks for putting this together. I've been diverted to something else for the foreseeable future so wont get to test this out soon. Unfortunately...
When the webresources were uploaded via the xrm toolbox they were uploaded from a flat structure to a structure that contained folders. Then there was some restructuring of libs into an nx monorepo where all webresources were included in the same lib which resulted in them being generated into a flat structure.... but then manually uploaded via xrm toolbox to the legacy folder structure... too much room for manual error, this the need for the mainifest to keep track of this. Thanks, Donal |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @neronotte
Firstly thanks for putting the work into this tool and making it available.
Secondly, how would you fell about an additional option to allow webresources be defined in a json manifest as opposed to a physical folder structure. I was thinking of adding a manifest param to specify the json file that describes the webresources and the source file for each webresource. When the manifest param is specified, the path should point to the build output folder that contains the generated web resource files. For example:
Would result in the following webresource structure
I could do a PR if you are interested.
Ref here also: 661
Thanks, Donal
Beta Was this translation helpful? Give feedback.
All reactions