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 = {
optimization: {
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( {
sourceMap: true,
uglifyOptions: {
output: {
// Preserve license comments starting with at least 30 `-` chars.
comments: /^-{30,}/
// Preserve license comments starting with the exclamation mark (!).
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