-
Notifications
You must be signed in to change notification settings - Fork 5
Don't reach into package to specify transformer #26
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
Comments
I outlined my reasoning for doing this over here: #19 (comment) -- If this is something we can now resolve (i.e.: it automatically resolves the correct file), then I'll be happy to revert it back to |
Totally get why you did this. Wish I would have found this earlier it would have saved me a lot of headaches. I did have to change mine a little tho since im working in a monorepo. '^.+\\.svelte$': ['svelte-jester/dist/transformer.mjs', {preprocess: true}], Just pathing into the module normally instead of a relative path, seems to make it more resilient. Is there a reason why we don't do this? Just curious. I could open a PR for it if you want. |
@bertybot Feel free to raise a PR 🙂 |
We shouldn't do this:
svelte-add-jest/preset.ts
Line 203 in bd18366
Instead it should be just
svelte-jester
The text was updated successfully, but these errors were encountered: