Skip to content

Commit

Permalink
Updated uglifyjs config.
Browse files Browse the repository at this point in the history
  • Loading branch information
ma2ciek committed Jul 3, 2018
1 parent 0b4790e commit d47cfc5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/docs/snippetadapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,12 @@ function getWebpackConfig( config ) {
if ( config.production ) {
minimizer.push(
new UglifyJsWebpackPlugin( {
sourceMap: true
sourceMap: true,
uglifyOptions: {
output: {
comments: /^\**!/
}
}
} )
);
}
Expand Down

0 comments on commit d47cfc5

Please sign in to comment.