Code Monkey home page Code Monkey logo

Comments (5)

addyosmani avatar addyosmani commented on July 19, 2024

We currently have an open ticket to properly setup Grunt as our build
system. Once this is in place, concat of any r.js files etc should be easy
enough though we should also be able to get r.js to compile to a single
file. I'll check on our current config.

On Tuesday, July 3, 2012, Moon wrote:

Hi,

I just tested out Aura and I really like it. One of my minor concerns is
that requirejs optimizer simply compressed all the js files instead of
generating one single js file.

Is this intended or is it going to be added in the near future?


Reply to this email directly or view it on GitHub:
https://github.com/addyosmani/backbone-aura/issues/39

Addy Osmani

Developer Programs Engineer at Google
Blogger at: http://addyosmani.com
Phone: +44 7501 594 382

from aura.

 avatar commented on July 19, 2024

Thanks !

from aura.

js-dot-js avatar js-dot-js commented on July 19, 2024

@KMK1986 I've got the project building into a single file for the docs, but I don't know if it's desirable for this kind of app. If you have a lot of widgets it seems like there may be more of a benefit to loading them as needed rather than taking down a huge file on page load. In this case each module could be built into single files to reduce requests. I'd like to set this up in the demo eventually.

from aura.

addyosmani avatar addyosmani commented on July 19, 2024

Perhaps what we could do is update the demo/build to show how you could have a collection of modules just pulled from a single file with one or two being dynamically pulled in for those that dont want to do everything in a single payload. This is currently done for apps like Google Docs.

from aura.

addyosmani avatar addyosmani commented on July 19, 2024

This should be taken care of now by the fixed grunt build process we have in place.

from aura.

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.