-
Notifications
You must be signed in to change notification settings - Fork 45
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
Sapper with webpack #53
Comments
@thirtysixmm I just got this working for me last night in webpack like this Note: I have a preprocess plugin I am using for tailwind, so you may not need the array for Also, I have this in my client and server configs.
|
Thanks a lot for that config! it definitely works for me on dev. |
I gave up trying to use it with webpack. If you look in the /dev directory there is a decent rollup config that worked no problem. |
I'm also struggling with svelte-image and SSR. I have following webpack config, client and server the same:
It works great on client rendering, but inspecting the SSR html shows missing a image:
Any idea? Thanks a lot! EDIT: It seems SSR does simply not work with svelte-waypoint |
I have same problem, but my image is missing only for window width from 1700 to 1741 px. <div class="svelte-142y8oi wrapper" style=min-height:100px;width:100%></div> |
offset="200" - fix my problem <Image offset="200" src="/images/hero.png" /> |
Hi,
How can I use this with sapper and webpack?
Regards
-Albin
The text was updated successfully, but these errors were encountered: