Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug mode #10

Open
sergeysova opened this issue Apr 2, 2021 · 0 comments
Open

Debug mode #10

sergeysova opened this issue Apr 2, 2021 · 0 comments
Assignees

Comments

@sergeysova
Copy link
Member

When debug is on:

  • Add name and location to asserts (assertKeyframe, assertVariable, assertSelector)
  • Asserts should show informative errors when used in incorrect way (ex.: keyframe used as a selector)
  • Do not minify CSS (if not forced)

When debug is off:

  • Do not add names (if not forced)
  • Replace asserts with getters without informative errors, that should help end-users to report problem
@sergeysova sergeysova self-assigned this Apr 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant