Coder Social home page Coder Social logo

Bloated size? about marionette-vdom HOT 3 CLOSED

themindfuldev avatar themindfuldev commented on September 21, 2024
Bloated size?

from marionette-vdom.

Comments (3)

jrolfs avatar jrolfs commented on September 21, 2024

Yeah, I was wondering the exact same thing. The main demo bundle is almost 3MB too o_O.

from marionette-vdom.

themindfuldev avatar themindfuldev commented on September 21, 2024

After spending a long time on this I concluded the bundle is big because of my dependencies' dependencies. The vdom library is quite heavy on dependencies.

Anyway, I have just released v0.2.1 with Marionette 3 support, updated dependencies, updated samples (demo, perf), updated documentation and reduced minified bundle by using uglifyjs dead code removal.

I was able to get it down to 196KB minified non-gzipped. And it does not include Marionette, Backbone, Underscore or jQuery.

from marionette-vdom.

themindfuldev avatar themindfuldev commented on September 21, 2024

I will close it for now since I can't think of anything else to to. Just for the record I tired Google Closure Compiler (advanced compiling) that has some aggressive optimization and it broke, but the file size was not much less than what I got from uglifyjs (about 10KB less).

from marionette-vdom.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.