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

Unable to import module correctly and build with Rollup #669

Closed
robincodex opened this issue Sep 21, 2020 · 1 comment
Closed

Unable to import module correctly and build with Rollup #669

robincodex opened this issue Sep 21, 2020 · 1 comment

Comments

@robincodex
Copy link

Codesandbox: https://codesandbox.io/s/musing-meninsky-bx1kl?file=/package.json:1591-1596
public/dist/Demo.js#L2763 Here should be var style$1 = style.default;
public/dist/Demo.js#L28982

Does this mean that styled-jsx is not compatible with Rollup or my configuration is incorrect?

Environment (include versions)

  • OS: Windows 10
  • Browser: Microsoft Edge 85
  • styled-jsx (version): 3.3.0
@danchitnis
Copy link

danchitnis commented Nov 6, 2020

Any update on this? The problem gets fixed when manually overwriting this line from var style$1 = style to var style$1 = style.default

@ryanfitzer also mentioned here

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 a pull request may close this issue.

2 participants