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

Gulp source ordering #1737

Closed
Bitneko opened this issue Jul 29, 2016 · 1 comment
Closed

Gulp source ordering #1737

Bitneko opened this issue Jul 29, 2016 · 1 comment

Comments

@Bitneko
Copy link

Bitneko commented Jul 29, 2016

Given the following gulp.src setup

gulp.src([
        baseDir + '/plugins/**/*.js',
        baseDir + '/modules/**/*.js',
         baseDir + '/modules/fallbackAnimation.js'
   ])
     .pipe(plugins.concat(pkg.name + '.js', {newLine: ';'}))
     .pipe(gulp.dest(dest + '/assets/' +  pkg.name +'/js'));

I would expect fallbackAnimation.js to be included after all the Javascript files in /modules. At least that's how it work in grunt. However the file are concatenated in alphabetical order.

@phated
Copy link
Member

phated commented Jul 29, 2016

Duplicate of #300. This is expected, as everything is async (unlike grunt where everything is sync and thus slow)

@phated phated closed this as completed Jul 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants