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.
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 () {
});
Sorry for newbie question, any help is really welcome.