Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[license] Include license key during build time #15546

Closed
pravingkwd28 opened this issue Nov 21, 2024 · 6 comments
Closed

[license] Include license key during build time #15546

pravingkwd28 opened this issue Nov 21, 2024 · 6 comments
Labels
package: x-license Specific to @mui/x-license. support: commercial Support request from paid users

Comments

@pravingkwd28
Copy link

pravingkwd28 commented Nov 21, 2024

The problem in depth

we need to include licensing key during the build process, not at run time .

Your environment

`npx @mui/envinfo`
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: we need to include licensing key during the build process,not at run time
Order ID: 4102046746

@pravingkwd28 pravingkwd28 added status: waiting for maintainer These issues haven't been looked at yet by a maintainer support: commercial Support request from paid users labels Nov 21, 2024
@michelengelen michelengelen changed the title we need to include licensing key during the build process,not at run time [license] Include license key during build time Nov 22, 2024
@michelengelen
Copy link
Member

You can do that ... I don't see a problem there. 🤔

@michelengelen michelengelen added status: waiting for author Issue with insufficient information package: x-license Specific to @mui/x-license. and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Nov 22, 2024
@pravingkwd28
Copy link
Author

Could you please provide the steps? if we have any article on how to do that. It will be helpful. thanks.

@github-actions github-actions bot added status: waiting for maintainer These issues haven't been looked at yet by a maintainer and removed status: waiting for author Issue with insufficient information labels Nov 22, 2024
@michelengelen
Copy link
Member

This highly depends on your build setup. In the easiest example you can just pass the string directly into the code. Otherwise you can use build variables, etc.

Without knowing the setup and the requirements we cannot help you there.

@michelengelen michelengelen added status: waiting for author Issue with insufficient information and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Nov 22, 2024
@pravingkwd28
Copy link
Author

please find the below details
we don't want to pass inline in code
image

we want it at the time of npm run build process
image

Additional service used
npm run build
azure app service
azure devops pipeline
azure pipeline variables

@github-actions github-actions bot added status: waiting for maintainer These issues haven't been looked at yet by a maintainer and removed status: waiting for author Issue with insufficient information labels Nov 28, 2024
@michelengelen
Copy link
Member

All right ... this is outside of the support scope for our products. You should check out the respective documentation for your build process. You could also try asking a question on StackOverflow or similar platforms.

Copy link

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

Note

@pravingkwd28 How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

@github-actions github-actions bot removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: x-license Specific to @mui/x-license. support: commercial Support request from paid users
Projects
None yet
Development

No branches or pull requests

2 participants