mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-29 02:11:28 -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')));
|
|
}); |