Calypso Build: production build now outputs .LICENSE files #14731
Labels
Build
[Focus] Blocks
Issues related to the block editor, aka Gutenberg, and its extensions developed in Jetpack
[Pri] Normal
[Type] Bug
When a feature is broken and / or not performing as intended
Milestone
For the past few releases (I think it may have started after we updated to calypso-build 6 in #14194), I’ve noticed that we are now generating
.LICENSE
files next to bundles, i.e.editor.js
now haseditor.js.LICENSE
too.To reproduce, run
NODE_ENV=production yarn build-extensions
and watch_inc/blocks
for.LICENSE
files.I wonder if it may originate from Automattic/wp-calypso#37412
We may have to add additional build options here:
https://github.com/Automattic/wp-calypso/blob/master/packages/calypso-build/webpack/minify.js#L39
https://github.com/webpack-contrib/terser-webpack-plugin#extractcomment
Internal discussion: p1582131921461500-slack-team-calypso
The text was updated successfully, but these errors were encountered: