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
I'm currently using Glide.js v3.6.0 in my project, and I have encountered an issue with Google Lighthouse reporting the following warning:
"Avoid old JavaScript in modern browsers"
The warning appears to be triggered by the ES5-compatible class syntax present in the glide.min.js distribution file. Since modern browsers can handle ES6+ code more efficiently, having ES5 syntax can negatively impact performance.
Steps to Reproduce
Include glide.min.js v3.6.0 in your project.
Run a Google Lighthouse audit on the page that includes Glide.js.
Observe the warning regarding old JavaScript.
Expected Behavior
Lighthouse should not flag Glide.js as using old JavaScript syntax when running audits for modern browsers.
Current Behavior
Lighthouse reports a warning due to the presence of ES5-compatible class syntax in the /dist/glide.min.js file.
Possible Solution
To resolve this, it would be beneficial to provide a distribution build of Glide.js that targets ES6+ environments.
The text was updated successfully, but these errors were encountered:
Description
I'm currently using Glide.js v3.6.0 in my project, and I have encountered an issue with Google Lighthouse reporting the following warning:
"Avoid old JavaScript in modern browsers"
The warning appears to be triggered by the ES5-compatible class syntax present in the
glide.min.js
distribution file. Since modern browsers can handle ES6+ code more efficiently, having ES5 syntax can negatively impact performance.Steps to Reproduce
glide.min.js
v3.6.0 in your project.Expected Behavior
Lighthouse should not flag Glide.js as using old JavaScript syntax when running audits for modern browsers.
Current Behavior
Lighthouse reports a warning due to the presence of ES5-compatible class syntax in the
/dist/glide.min.js
file.Possible Solution
To resolve this, it would be beneficial to provide a distribution build of Glide.js that targets ES6+ environments.
The text was updated successfully, but these errors were encountered: