Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

A lighter createjs.min.js file ?

Explorer ,
Mar 19, 2025 Mar 19, 2025

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

 

132
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 19, 2025 Mar 19, 2025

Use a Google hosted link,  no need to include the library in your package.

 

Go to Publish Settings and check the Hosted Libraries option:

Mario_CR_0-1742412286628.png

 

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>

Translate
Community Expert ,
Mar 19, 2025 Mar 19, 2025

Use a Google hosted link,  no need to include the library in your package.

 

Go to Publish Settings and check the Hosted Libraries option:

Mario_CR_0-1742412286628.png

 

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>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 21, 2025 Mar 21, 2025
LATEST

Thanks, I used to do that, but the Google hosted is the solution to pass validation, thanks 🙂

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines