Glench / snuggle

Because you shouldn't have to worry about static... asset management.
Other
0 stars 0 forks source link

Allow precedence and deduping of include files with globs #4

Open Glench opened 12 years ago

Glench commented 12 years ago

If, for example, you store your jquery plugins in /jquery_plugins/, and some of the jquery plugins in there have dependencies, you should be able to specify something like this:

{ "combined":
    "c.jquery_plugins.js": [
        "jquery_plugins/a.js",
        "jquery_plugins/b.js",
        "jquery_plugins/*.js"
    ]
}

Where b.js depends on a.js. You should not include a and b twice in this case.

Glench commented 12 years ago

The precedence thing is important because right now jquery ui is coming after jquery in our tests :)