-
Notifications
You must be signed in to change notification settings - Fork 411
Duplicate export 'default' in linaria v5 #1385
Copy link
Copy link
Open
Labels
bug report 🦗Issue is probably a bug, but it needs to be checkedIssue is probably a bug, but it needs to be checkedbundler: webpack 📦Issue is related to webpack bundlerIssue is related to webpack bundlerneeds: complete repro 🖥️Issue need to have complete repro providedIssue need to have complete repro provided
Metadata
Metadata
Assignees
Labels
bug report 🦗Issue is probably a bug, but it needs to be checkedIssue is probably a bug, but it needs to be checkedbundler: webpack 📦Issue is related to webpack bundlerIssue is related to webpack bundlerneeds: complete repro 🖥️Issue need to have complete repro providedIssue need to have complete repro provided
Type
Fields
Give feedbackNo fields configured for issues without a type.
Environment
Description
After upgrade linaria version from v4 to v5 i getting error from loader:
Source code of index.ts has only reexports:
Re-exported modules has other named exports and default.
Wildcard exports should works fine in this case and it parsed correctly in previous version of linaria/webpack5-loader.
Reproducible Demo
Simple example:
webpack.config.js
linaria.config.cjs
src/moduleA.ts
src/moduleB.ts
src/index.ts