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

Module parse failed: Duplicate export 'default' (5:7) #1429

Open
daigang1228 opened this issue Dec 30, 2024 · 2 comments
Open

Module parse failed: Duplicate export 'default' (5:7) #1429

daigang1228 opened this issue Dec 30, 2024 · 2 comments
Labels
bug report 🦗 Issue is probably a bug, but it needs to be checked bundler: webpack 📦 Issue is related to webpack bundler needs: complete repro 🖥️ Issue need to have complete repro provided

Comments

@daigang1228
Copy link

daigang1228 commented Dec 30, 2024

Environment

  • Linaria version: 6.2
  • Bundler (+ version):
  • Node.js version: 18+
  • OS:mac

Description

Reproducible Demo

Image
@daigang1228 daigang1228 added bug report 🦗 Issue is probably a bug, but it needs to be checked needs: complete repro 🖥️ Issue need to have complete repro provided needs: triage 🏷 Issue needs to be checked and prioritized labels Dec 30, 2024
@github-actions github-actions bot added bundler: webpack 📦 Issue is related to webpack bundler and removed needs: triage 🏷 Issue needs to be checked and prioritized labels Dec 30, 2024
@daigang1228
Copy link
Author

daigang1228 commented Dec 30, 2024

I created a new project using create-react-app (webpack 5) and got the issue when I start the project, I think this is a common issue

It can be reproduced by this

https://github.com/daigang1228/linaria-issue-reproduced

@daigang1228
Copy link
Author

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report 🦗 Issue is probably a bug, but it needs to be checked bundler: webpack 📦 Issue is related to webpack bundler needs: complete repro 🖥️ Issue need to have complete repro provided
Projects
None yet
Development

No branches or pull requests

1 participant