Skip to content

Commit

Permalink
Updated uglifyjs config.
Browse files Browse the repository at this point in the history
  • Loading branch information
ma2ciek committed Jun 28, 2018
1 parent 678be21 commit f923300
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 f923300

Please sign in to comment.