You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: