Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global dependencies #1

Open
tJener opened this issue Jun 13, 2012 · 1 comment
Open

Global dependencies #1

tJener opened this issue Jun 13, 2012 · 1 comment

Comments

@tJener
Copy link
Owner

tJener commented Jun 13, 2012

A way to specify a global dependency, such as the base file for the module, which subsequent files then extend.

grunt.initConfig({
  depconcat: {
    src: 'src/**/*.js',
    dest: 'dist/lib.js',
    basePath: 'src/',
    globals: {
      load: 'src/base.js',
      run: [ 'src/utils.js' ]
    }
  }
});
@tJener
Copy link
Owner Author

tJener commented Jun 13, 2012

Hmm, can't list multiple global load dependencies, duh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant