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

Doesn't work with React router 7? #126

Open
PierreGUI opened this issue Jan 9, 2025 · 0 comments
Open

Doesn't work with React router 7? #126

PierreGUI opened this issue Jan 9, 2025 · 0 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

@PierreGUI
Copy link

Environment

  • wyw-in-js version: 0.5.5
  • Linaria 6.2.1
  • Bundler (+ version): Webpack 5.89
  • Node.js version: 21.7.2
  • OS: MacOS 15.1

Description

After updating to react-router v7, build fails with a ton of these:

 ERROR in ./src/components/...tsx
  Module build failed (from ./node_modules/@wyw-in-js/webpack-loader/lib/index.js):
  Error: /Users/pierre/Chordify/chordify-front/client/node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs: Dynamic import argument must be a string or a template literal

Reproducible Demo

WIP

@PierreGUI PierreGUI 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 Jan 9, 2025
@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 Jan 9, 2025
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