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

SSR support #54

Closed
pelikhan opened this issue Jun 30, 2021 · 6 comments
Closed

SSR support #54

pelikhan opened this issue Jun 30, 2021 · 6 comments

Comments

@pelikhan
Copy link

When using this library with a server-side-rendering module, it fails to load in webpack because of references to "self".

@pelikhan
Copy link
Author

ReferenceError: self is not defined
    at .....\browser-fs-access\dist\supported.mjs:2:15

@tomayac
Copy link
Member

tomayac commented Jul 1, 2021

I have asked for help from some bundler experts internally at Google and hope to get back with an answer. Thanks for your patience.

@pelikhan
Copy link
Author

pelikhan commented Jul 1, 2021 via email

@tomayac
Copy link
Member

tomayac commented Jul 1, 2021

Oh, I see, if this would work for you, then it's an easy fix.

@pelikhan
Copy link
Author

pelikhan commented Jul 1, 2021 via email

@tomayac tomayac closed this as completed in 78e2d3f Jul 1, 2021
@tomayac
Copy link
Member

tomayac commented Jul 1, 2021

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