-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Yarn update
- Loading branch information
Adriano
committed
Aug 30, 2021
1 parent
a1e2da3
commit 8f4f72d
Showing
7 changed files
with
19,916 additions
and
981 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,6 @@ | |
################################################################################ | ||
|
||
/.vs | ||
/.yarn | ||
.yarn* | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
let gulp = require('gulp'); | ||
let rename = require('gulp-rename'); | ||
let babel = require('gulp-babel'); | ||
let sourcemaps = require('gulp-sourcemaps'); | ||
let uglify = require('gulp-uglify'); | ||
let minify = require('gulp-minify'); | ||
|
||
gulp.task("build", function () { | ||
return gulp.src('../src/esheep.js') | ||
.pipe(rename('esheep.min.js')) | ||
.pipe(babel({ | ||
presets: ['@babel/preset-env'] | ||
})) | ||
.pipe(sourcemaps.init()) /* | ||
.pipe(uglify()) */ | ||
.pipe(sourcemaps.write()) | ||
.pipe(sourcemaps.init()) | ||
.pipe(minify({ext:{min:'.min.js'},noSource:true})) | ||
.pipe(sourcemaps.write('../dist/')) | ||
.pipe(gulp.dest('../dist/')); | ||
}); |
Oops, something went wrong.