mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-28 09:51:06 -06:00
12 lines
361 B
JavaScript
12 lines
361 B
JavaScript
const gulp = require('gulp');
|
|
const less = require('gulp-less');
|
|
const sourcemaps = require('gulp-sourcemaps');
|
|
const path = require('path');
|
|
|
|
gulp.task('less', function () {
|
|
return gulp.src('./src/**/*.less')
|
|
.pipe(sourcemaps.init())
|
|
.pipe(less())
|
|
.pipe(sourcemaps.write())
|
|
.pipe(gulp.dest(path.join(__dirname, 'src')));
|
|
}); |