Duplicate export 'default' in linaria v5 #1385
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
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
The text was updated successfully, but these errors were encountered: