Skip to content

Commit

Permalink
Add ability to configure "comments" options for borschik
Browse files Browse the repository at this point in the history
  • Loading branch information
dfilatov committed Jun 26, 2017
1 parent cf72c38 commit d7aa12d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions techs/borschik.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ var path = require('path'),
* @param {String[]} [options.dependantFiles] Files that must be built before borschik tech execution.
* @param {Boolean} [options.minify=true] Minimize file during borschik processing.
* @param {Boolean} [options.freeze=true] Freeze links to sources.
* @param {Boolean} [options.comments=true] Add explaining comments.
* @param {Boolean} [options.noCache=false] Drops cache usage forcibly.
* @param {String} [options.tech] Technology that should be processed with borschik.
* @param {Object} [options.techOptions] Params for 'tech' option
Expand Down Expand Up @@ -67,6 +68,7 @@ module.exports = buildFlow.create()
.optionAlias('source', 'sourceTarget')
.defineOption('minify', true)
.defineOption('freeze', true)
.defineOption('comments', true)
.defineOption('noCache', false)
.defineOption('tech', null)
.defineOption('techOptions', null)
Expand All @@ -83,6 +85,7 @@ module.exports = buildFlow.create()
output: node.resolvePath(this._target),
freeze: this._freeze,
minimize: this._minify,
comments: this._comments,
tech: this._tech,
techOptions: this._techOptions
},
Expand Down

0 comments on commit d7aa12d

Please sign in to comment.