mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
Adding Prettier
* Added prettier with automatic useage on pre-commit to avoid style breakage * Ran Prettier on the project
This commit is contained in:
parent
820c2df1f4
commit
b24cdcc9ed
136 changed files with 13929 additions and 12206 deletions
23
gulpfile.js
23
gulpfile.js
|
|
@ -2,20 +2,15 @@
|
|||
var gulp = require('gulp');
|
||||
var less = require('gulp-less');
|
||||
|
||||
gulp.task('less', function(cb) {
|
||||
gulp
|
||||
.src('styles/daggerheart.less')
|
||||
.pipe(less())
|
||||
.pipe(
|
||||
gulp.dest("styles")
|
||||
);
|
||||
cb();
|
||||
gulp.task('less', function (cb) {
|
||||
gulp.src('styles/daggerheart.less').pipe(less()).pipe(gulp.dest('styles'));
|
||||
cb();
|
||||
});
|
||||
|
||||
gulp.task(
|
||||
'default',
|
||||
gulp.series('less', function(cb) {
|
||||
gulp.watch('styles/**/*.less', gulp.series('less'));
|
||||
cb();
|
||||
})
|
||||
);
|
||||
'default',
|
||||
gulp.series('less', function (cb) {
|
||||
gulp.watch('styles/**/*.less', gulp.series('less'));
|
||||
cb();
|
||||
})
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue