Skip to content

Commit

Permalink
Merge ce8efa9 into 0a42758
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Gaunt committed Jul 13, 2018
2 parents 0a42758 + ce8efa9 commit a28b471
Show file tree
Hide file tree
Showing 7 changed files with 1,455 additions and 1,448 deletions.
5 changes: 2 additions & 3 deletions gulp-tasks/utils/module-to-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ const fs = require('fs-extra');
const sourcemaps = require('gulp-sourcemaps');
const rollup = require('rollup');
const rollupStream = require('rollup-stream');
const uglifyPlugin = require('rollup-plugin-uglify');
const sourcemapPlugin = require('rollup-plugin-sourcemaps');
const esMinify = require('uglify-es').minify;
const {terser} = require('rollup-plugin-terser');
const source = require('vinyl-source-stream');
const buffer = require('vinyl-buffer');

Expand All @@ -25,7 +24,7 @@ function processScript(moduleFile, relativePath, destDir) {
// further manipulations
sourcemapPlugin(),
// Minify the bundled JS
uglifyPlugin({}, esMinify),
terser(),
],
})
.pipe(source(relativePath))
Expand Down

0 comments on commit a28b471

Please sign in to comment.