Skip to content

Commit

Permalink
build(gulp task): minor
Browse files Browse the repository at this point in the history
  • Loading branch information
exuanbo committed Jul 24, 2020
1 parent 9d337e9 commit 8cf8c9e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,13 @@ class Option {
}

function cjs() {
const options = new Option('cjs')
return rollupStream(options)
return rollupStream(new Option('cjs'))
.pipe(source('file-icons.js'))
.pipe(dest('dist/js'))
}

function es() {
const options = new Option('es')
return rollupStream(options)
return rollupStream(new Option('es'))
.pipe(source('file-icons.esm.js'))
.pipe(dest('dist/js'))
.pipe(buffer())
Expand Down

0 comments on commit 8cf8c9e

Please sign in to comment.