mirror of
https://github.com/netzmacht/contao-leaflet-libraries.git
synced 2025-11-29 03:24:34 +01:00
Add layer overpass.
This commit is contained in:
14
assets/leaflet-layer-overpass/gulpfile.js
Normal file
14
assets/leaflet-layer-overpass/gulpfile.js
Normal file
@@ -0,0 +1,14 @@
|
||||
var gulp = require('gulp');
|
||||
var concat = require('gulp-concat');
|
||||
var uglify = require('gulp-uglify');
|
||||
var rename = require('gulp-rename');
|
||||
|
||||
gulp.task('default', function() {
|
||||
return gulp.src('./src/*.js')
|
||||
.pipe(concat('OverPassLayer.js'))
|
||||
.pipe(gulp.dest('./dist/'))
|
||||
.pipe(uglify())
|
||||
.pipe(rename({ extname: '.min.js' }))
|
||||
.pipe(gulp.dest('./dist/'));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user