mib1185 edited a comment on issue #5277: URL: https://github.com/apache/cloudstack/issues/5277#issuecomment-912521599
The `https://cdnjs.cloudflare.com/ajax/libs/less.js/2.7.2/less.min.js` is default loaded by [`antd-theme-webpack-plugin` ](https://www.npmjs.com/package/antd-theme-webpack-plugin/v/1.3.9) It is possible to use an url or path as option `lessUrl` (should be added in [`ui/theme.config.js`](https://github.com/apache/cloudstack/blob/379454caae76279329c52aa6ae3eea389741d935/ui/theme.config.js)). So easiest solution would be to download `https://cdnjs.cloudflare.com/ajax/libs/less.js/2.7.2/less.min.js` during build, place it in `<webroot>/js` and refer it as relativ path in `lessUrl` 🤔 but honestly, I'm not familiar with the UI build process, those do not have any glue how to download the file during build and place it accordingly 🙈 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
