Skip to content

Commit

Permalink
Add Babel options to remove comments from output
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauri Svan committed Jun 12, 2016
1 parent 0bb4d47 commit 99137f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ gulp.task('default', function () {
.pipe(sourcemaps.init())
.pipe(babel({
presets: ['es2015-node4'],
plugins: ['add-module-exports']
plugins: ['add-module-exports'],
comments: false,
babelrc: false,
}))
.on('error', reportError)
.pipe(sourcemaps.write('.'))
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"license": "MIT",
"devDependencies": {
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.6.0",
"babel-preset-es2015-node4": "^2.1.0",
"chai": "^3.5.0",
"gulp": "^3.9.1",
Expand Down

0 comments on commit 99137f8

Please sign in to comment.