I recently endeavored to update CamelotHub to Symfony3 and in doing so I abandoned Assetic in place of a more modern gulp approach. All things considered it was actually quite straight forward and certainly less overhead than Assetic.

var gulp = require('gulp');
var sass = require('gulp-sass');
var concat = require('gulp-concat');
var minifyCss = require('gulp-minify-css');
var image = require('gulp-image');

gulp.task('styles', function() {

gulp.task('javascripts', function() {

gulp.task('images', function() {

gulp.task('default', ['styles', 'javascripts', 'images']);

Once complete, execution is as simple as running the command gulp from the directory your gulpfile.js lives.

Categories: Random


Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *