Giter Club home page Giter Club logo

Comments (5)

baer avatar baer commented on July 26, 2024 5

@developit - A good friend of mine just announced Interlock.js in a talk at Cascadia.js which does just that actually.

It's really interesting actually - it's a pluggable build tool that uses babel for processing the AST just like you're suggesting. Some of the more interesting parts of it are it's bundling system which is based on Git's hashing algorithm to create reproducible module ids which lets you share code chunks across builds. Anyway, just thought I'd share.

Edit: I just noticed that the website is acting weird so I changed the link above to the actual github and wanted to add a link here to the documentation

from minify.

kangax avatar kangax commented on July 26, 2024

Yep, we definitely want to explore some sort of global module/file -aware minification.

Also related to #62

from minify.

developit avatar developit commented on July 26, 2024

@kangax sweet, I was hoping you guys would see the potentially huge value there. The runtime performance benefits of scope flattening are pretty awesome.

from minify.

kangax avatar kangax commented on July 26, 2024

We're actually planning to do an experiment at Facebook to try flattening scopes and hoist-rename everything to the top level in hopes of gaining on parsing performance. We'll see how it goes.

Sent from my iPhone

On 25 Aug 2016, at 20:47, Jason Miller [email protected] wrote:

@kangax sweet, I was hoping you guys would see the potentially huge value there. The runtime performance benefits of scope flattening are pretty awesome.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

from minify.

kangax avatar kangax commented on July 26, 2024

@baer I really enjoyed that video, thanks! Interesting ideas on bundling and HTTP/2.

from minify.

Related Issues (20)

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.