You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we run lighthouse tests against our AMP pages amp-date-picker-0.1.js is being flagged as not being minified. I have checked https://cdn.ampproject.org/v0/amp-date-picker-0.1.js and it actually does look like it is minified except for the copyright notice which includes whitespace and new lines. I have checked the .js files for other components such as amp-list and amp-form and I see that they do not have a copyright notice and are therefore properly minified.
So would it be possible to remove/minify the copyright notice from the amp-date-picker-0.1.js file so that it can actually be considered as minified javascript?
The text was updated successfully, but these errors were encountered:
The copyright notice is required by the license of the underlying code and cannot be removed. Other modules do not include third party code and so do not have the same requirement. This is a misdetection by lighthouse.
What's the issue?
When we run lighthouse tests against our AMP pages amp-date-picker-0.1.js is being flagged as not being minified. I have checked https://cdn.ampproject.org/v0/amp-date-picker-0.1.js and it actually does look like it is minified except for the copyright notice which includes whitespace and new lines. I have checked the .js files for other components such as amp-list and amp-form and I see that they do not have a copyright notice and are therefore properly minified.
So would it be possible to remove/minify the copyright notice from the amp-date-picker-0.1.js file so that it can actually be considered as minified javascript?
The text was updated successfully, but these errors were encountered: