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

Not detecting transitions #4

Closed
PierBover opened this issue Nov 7, 2020 · 3 comments
Closed

Not detecting transitions #4

PierBover opened this issue Nov 7, 2020 · 3 comments

Comments

@PierBover
Copy link

From the source it seems transitions should be imported but I'm getting a ReferenceError: fade is not defined error when using a transtion:

<div in:fade>

Does this preprocessor not parse the template?

@rixo
Copy link
Owner

rixo commented Nov 7, 2020

Not tested apparently: https://github.com/rixo/svelte-preprocess-autoimport/blob/master/src/preprocessor.spec.js

It should. I'll look into this.

Thanks for report.

@rixo
Copy link
Owner

rixo commented Nov 8, 2020

This should be fixed in v0.2.1. Can you confirm it works for you now?

@PierBover
Copy link
Author

Thanks @rixo it's working now 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants