Skip to main content
Participant
July 12, 2025
Question

Optimizar codigo. CSS o Javascript.

  • July 12, 2025
  • 3 replies
  • 145 views

Hay alguna herramienta dentro del Dreamweaver para borrar codigo css duplicado o javascript no usado. Por ejemplo cuando se carga bootstrap hay un montón de código que no se usa. Luego para optimizarlo tanto css como java.
Gracias 
Adalberto Hugo Beghelli

 

    3 replies

    Nancy OShea
    Community Expert
    Community Expert
    July 13, 2025

    No such tool in Dreamweaver.

     

    You can optimize Bootstrap with selective SASS, CSS variables & mixins to eliminate unwanted overhead. But only do this if you're really sure you'll never need the extras later. This could change over time, so don't throw baby out with the bath water.  See links below.

    https://getbootstrap.com/docs/5.0/customize/overview/

    https://getbootstrap.com/docs/5.0/customize/optimize/

     

    Nancy O'Shea— Product User & Community Expert
    BenPleysier
    Community Expert
    Community Expert
    July 12, 2025

    Chrome DevTools Coverage Tab: Shows unused CSS/JS bytes visually

    Click on the file name and it will show the unsused parts for the selected page.

     

     

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    Community Expert
    July 12, 2025

    Dreamweaver doesn't have a tool that removes unused CSS/JS from your code. Also, due to the Bootstrap versions being out of date in DW, it is not recommended to use the built in functionality, but rather to use the latest stable release of Bootstrap found on: https://getbootstrap.com/