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

Almond and gulp amd-optimise #95

Open
danielsedlacek opened this issue Nov 10, 2014 · 0 comments
Open

Almond and gulp amd-optimise #95

danielsedlacek opened this issue Nov 10, 2014 · 0 comments

Comments

@danielsedlacek
Copy link

Is it possible to use almond with amd optimisers besides r.js? Like amd-optimise?

I am trying to plug almond into this gulp script:

var gulp = require("gulp");
var amdOptimize = require("amd-optimize");
var concat = require('gulp-concat');

gulp.task("scripts:index", function () {

return gulp.src("js/**/*.js")
    // Traces all modules and outputs them in the correct order.
    .pipe(amdOptimize("main"))
    .pipe(concat("index.js"))
    .pipe(gulp.dest("dist/scripts"));

});

Sorry for newbie question, any help is really welcome.

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

1 participant