feat(Tracking): remove deduped licenses#4694
Conversation
02fca7d to
7f2b000
Compare
| xhtml: true | ||
| }), | ||
| new LicenseWebpackPlugin({ | ||
| pattern: /^(MIT|ISC|BSD.*)$/ |
There was a problem hiding this comment.
Shouldn't all license types be included?
| compress: { screw_ie8: true, warnings: buildOptions.verbose }, | ||
| sourceMap: buildOptions.sourcemap | ||
| sourceMap: buildOptions.sourcemap, | ||
| comments: false |
There was a problem hiding this comment.
There are legal implications to this. Do we need to remove comments?
There was a problem hiding this comment.
I verified with legal and they said removing the comments from a build output is fine in our case. This LGTM (needs to fix errors on CI)
6e8f98e to
757f669
Compare
d069c55 to
1c16f12
Compare
|
@sumitarora can you rebase to see if there are still CI problems? |
1c16f12 to
a7dcb75
Compare
|
@filipesilva There is issue with the |
filipesilva
left a comment
There was a problem hiding this comment.
Can you also add a test for this? Otherwise we won't know if it breaks accidentally.
|
Can this be made optional via a command/config option? |
fd377a7 to
4a34e85
Compare
|
Any news on this PR ? It looks like xz64/license-webpack-plugin#11 has been solved for a month. What could eventually be made to help ? |
89d3ef6 to
a2bee5c
Compare
a2bee5c to
2adcbdf
Compare
| `--sourcemaps` | `true` | `false` | ||
| `--extract-css` | `false` | `true` | ||
|
|
||
| `--extract-licenses` (`-el`) Extract all licenses in a seprate file. |
| type: Boolean, | ||
| default: true, | ||
| aliases: ['el'], | ||
| description: 'Extract all licenses in a seprate file.' |
| { | ||
| name: 'extract-licenses', | ||
| type: Boolean, | ||
| default: true, |
There was a problem hiding this comment.
Could you specify in the description that this flag is only used in production builds (when --target=prod)? Seems like people might think it will affect dev builds as well.
| @@ -6,7 +6,6 @@ import { WebpackConfigOptions } from '../webpack-config'; | |||
|
|
|||
There was a problem hiding this comment.
Could you reverse this file please? It just adds to the noise of the history.
| name: 'extract-licenses', | ||
| type: Boolean, | ||
| default: true, | ||
| aliases: ['el'], |
There was a problem hiding this comment.
We probably don't want a short hand for this option.
2568ebd to
0ceb419
Compare
0ceb419 to
1a50954
Compare
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
3rdpartylicenses.txtwith all the licensesFixes: Tracking: Deduping licenses #4413