Copy link to clipboard
Copied
Hello
Is there a way to get a lighter createjs.min.js file for ma banners ? That JS is 237ko if I include it in my zip file...
Thanks
Use a Google hosted link, no need to include the library in your package.
Go to Publish Settings and check the Hosted Libraries option:
Once published, open the HTML5 file and replace the default create.js host:
<script src="https://code.createjs.com/1.0.0/createjs.min.js"></script>
With the Google hosted one to pass validation:
<script src="https://s0.2mdn.net/ads/studio/cached_libs/createjs_2019.11.15_min.js"></script>
Copy link to clipboard
Copied
Use a Google hosted link, no need to include the library in your package.
Go to Publish Settings and check the Hosted Libraries option:
Once published, open the HTML5 file and replace the default create.js host:
<script src="https://code.createjs.com/1.0.0/createjs.min.js"></script>
With the Google hosted one to pass validation:
<script src="https://s0.2mdn.net/ads/studio/cached_libs/createjs_2019.11.15_min.js"></script>
Copy link to clipboard
Copied
Thanks, I used to do that, but the Google hosted is the solution to pass validation, thanks 🙂
Find more inspiration, events, and resources on the new Adobe Community
Explore Now