Commit 9ab11554 authored by Maciej Bukowski's avatar Maciej Bukowski

Switched back to banner with exclamation mark.

parent 4df1e11e
...@@ -29,12 +29,14 @@ module.exports = { ...@@ -29,12 +29,14 @@ module.exports = {
optimization: { optimization: {
minimizer: [ minimizer: [
// Use the newest version of UglifyJsWebpackPlugin plugin that fixes `inline` optimization bug.
// See https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/264.
new UglifyJsWebpackPlugin( { new UglifyJsWebpackPlugin( {
sourceMap: true, sourceMap: true,
uglifyOptions: { uglifyOptions: {
output: { output: {
// Preserve license comments starting with at least 30 `-` chars. // Preserve license comments starting with the exclamation mark (!).
comments: /^-{30,}/ comments: /^!/
} }
} }
} ) } )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment