I have some js file and I want to serve it to my project path: /js/account-settings.xxx.js, at the same time I want to use CDN for it, say //www.cdn-xxx.com/js/account-settings.xxx.js. How can I append the cdn prefix to the build:js comment?
I tried the below code, but it generated the js file to my project path: /www.cdn-xxx.com/js/account-settings.xxx.js
I have some js file and I want to serve it to my project path:
/js/account-settings.xxx.js
, at the same time I want to use CDN for it, say //www.cdn-xxx.com/js/account-settings.xxx.js. How can I append the cdn prefix to the build:js comment?I tried the below code, but it generated the js file to my project path:
/www.cdn-xxx.com/js/account-settings.xxx.js