linaria icon indicating copy to clipboard operation
linaria copied to clipboard

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

Open daigang1228 opened this issue 1 year ago • 2 comments

Environment

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

Description

Reproducible Demo

Image

daigang1228 avatar Dec 30 '24 09:12 daigang1228

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 avatar Dec 30 '24 09:12 daigang1228

Image

daigang1228 avatar Dec 30 '24 10:12 daigang1228