Power-Maverick / PCF-CustomControlBuilder

XrmToolBox Plugin for building and deploying custom control using PCF
MIT License
40 stars 6 forks source link

Add Release Configuration Mode #29

Closed rwilson504 closed 3 years ago

rwilson504 commented 3 years ago

Is your feature request related to a problem? Please describe. Need to reduce the size of the bundle.js files.

Describe the solution you'd like I would like to be able to select Development or Release mode for the msbuild command that actually builds the component. Currently I am using this tool to build all my components but the bundle.js files are much larger than they need to be.

msbuild /p:configuration=Release

Describe alternatives you've considered I could also just use DevOps to create a pipeline for these controls to build them in release mode but it would be nice to have the option in the tool.

Additional context Add any other context or screenshots about the feature request here.

power-maverick-bot[bot] commented 3 years ago

I am groot!! Thanks for opening your first issue here! Please make sure you have given us as much context as possible.

github-actions[bot] commented 3 years ago

Thank you for creating your first issue. This will help me improve this tool.

Power-Maverick commented 3 years ago

Hi @rwilson504 the functionality already exists. In CDS Solution Details section, before building the CDS project, check "Managed" and then build it. This will create a production ready file which can be deployed to your environment using the "Deploy" button.

image

power-maverick-bot[bot] commented 3 years ago

I am groot!! Thanks for adding your comments. One of the Avengers will respond as soon as possible.

rwilson504 commented 3 years ago

Perfect, thanks again for all your work on this tool!

power-maverick-bot[bot] commented 3 years ago

I am groot!! Thanks for adding your comments. One of the Avengers will respond as soon as possible.