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

fix(webpack): fix error when cacheProvider is undefined #890

Merged
merged 1 commit into from Dec 20, 2021
Merged

fix(webpack): fix error when cacheProvider is undefined #890

merged 1 commit into from Dec 20, 2021

Conversation

malash
Copy link
Contributor

@malash malash commented Dec 18, 2021

Motivation

While cherry picking cacheProvider to Linaria v3 I found a same bug in #884

Summary

If cacheProvider is not set ( undefined ), the query param cacheProvider=${encodeURIComponent(cacheProvider)} became a string 'undefined' and result in a runtime error Cannot find module 'undefined'.

Test plan

I'v test cacheProvider: undefined in #889

@Anber Anber merged commit c1fa32d into callstack:2.0.x Dec 20, 2021
@malash
Copy link
Contributor Author

malash commented Dec 21, 2021

@Anber Could you mind public a new version of Linaria v2, since this bug would affect most of normal Linaria users.

@Anber
Copy link
Collaborator

Anber commented Dec 21, 2021

Hi @malash
I would like to, but there is a big issue #891 introduced in #879. I have to fix it first.

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

Successfully merging this pull request may close these issues.

None yet

2 participants