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

render and styleToString exports need file types #28

Open
doolijb opened this issue Dec 2, 2023 · 0 comments
Open

render and styleToString exports need file types #28

doolijb opened this issue Dec 2, 2023 · 0 comments

Comments

@doolijb
Copy link

doolijb commented Dec 2, 2023

Playwright test fails to import svelte-email.

Error: Cannot find module '/srv/www/app/node_modules/svelte-email/render' imported from /srv/www/app/node_modules/svelte-email/index.js

Solution:

import { render } from './render';

import { render } from './render'; // update to './render.d.ts'
import { styleToString } from './utils'; // update to './utils.d.ts'
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

1 participant