Skip to content

Commit

Permalink
docs: 修复文档错误
Browse files Browse the repository at this point in the history
  • Loading branch information
duan602728596 committed Nov 17, 2020
1 parent d631ba2 commit 1cec096
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const gulp = require('gulp');
const terser = require('gulp-terser');

function es(){
return gulp.src('./src/index22.js')
return gulp.src('./src/index.js')
.pipe(terser())
.pipe(gulp.dest('./build'));
}
Expand All @@ -36,7 +36,7 @@ const gulp = require('gulp');
const terser = require('gulp-terser');

function es(){
return gulp.src('./src/index22.js')
return gulp.src('./src/index.js')
.pipe(terser({
keep_fnames: true,
mangle: false
Expand All @@ -55,7 +55,7 @@ const terser = require('terser');
const gulpTerser = require('gulp-terser');

function es(){
return gulp.src('./src/index22.js')
return gulp.src('./src/index.js')
.pipe(gulpTerser({}, terser.minify))
.pipe(gulp.dest('./build'));
}
Expand Down

0 comments on commit 1cec096

Please sign in to comment.