Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #67 from fourkitchens/babel-minify
Browse files Browse the repository at this point in the history
Install Babel Minify, add to presets
  • Loading branch information
Evan Willhite authored May 8, 2018
2 parents 9ec1e81 + 021cd8f commit 43c1034
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = (gulp, config) => {
gulp.src(config.paths.js)
.pipe(sourcemaps.init())
.pipe(babel({
presets: ['env'],
presets: ['env', 'minify'],
}))
.pipe(sourcemaps.write(config.themeDir))
.pipe(gulp.dest(config.paths.dist_js));
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"dependencies": {
"babel-core": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-minify": "^0.2.0",
"breakpoint-sass": "^2.7.0",
"browser-sync": "^2.11.0",
"del": "^3.0.0",
Expand Down

0 comments on commit 43c1034

Please sign in to comment.