Closed TeaEwan closed 1 year ago
Hi there, we are removing the Util dependencies from all our components.
Meanwhile, you can replace the Util functions (e.g., Util.osHasReducedMotion()
) with a basic function (e.g. function osHasReducedMotion()
). This will fix your issue.
Thank you for your work.
I have noticed that some components have removed Util dependencies, some have not been removed. Will it continue?
Yes, the dependency will be removed from all components.
Project url: https://github.com/google/closure-compiler
Command:
google-closure-compiler --compilation_level ADVANCED --warning_level DEFAULT --js index.js --js_output_file output_index.js
An error message appears:
How do you fix it?