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

Stopped working with @babel/core 7.25.7 #104

Open
yume-chan opened this issue Oct 4, 2024 · 0 comments
Open

Stopped working with @babel/core 7.25.7 #104

yume-chan opened this issue Oct 4, 2024 · 0 comments
Labels
bug report 🦗 Issue is probably a bug, but it needs to be checked bundler: webpack 📦 Issue is related to webpack bundler cat: monorepo 🔱 Issues related to usage of wyw-in-js in monorepo needs: complete repro 🖥️ Issue need to have complete repro provided

Comments

@yume-chan
Copy link

yume-chan commented Oct 4, 2024

Environment

  • wyw-in-js version: 0.5.4
  • custom processor: @linaria/core 6.2.0
  • Bundler (+ version): vite 5.4.8
  • Node.js version: v20.16.0
  • OS: Ubuntu 22.04.3 LTS

Description

Upgrade @babel/core to latest version 7.25.7, and wyw-in-js stops working. The previous version 7.25.2 works correctly.

babel/babel#16820 changed resolvePreset's return type (used in babel-merge), but other APIs doesn't accept the new type.

Reproducible Demo

https://codesandbox.io/p/devbox/eloquent-mayer-nlqvt6?workspaceId=5112c222-3611-4602-8c37-7b803fe68930

@yume-chan yume-chan 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 Oct 4, 2024
@github-actions github-actions bot added bundler: webpack 📦 Issue is related to webpack bundler cat: monorepo 🔱 Issues related to usage of wyw-in-js in monorepo and removed needs: triage 🏷 Issue needs to be checked and prioritized labels Oct 4, 2024
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 cat: monorepo 🔱 Issues related to usage of wyw-in-js in monorepo needs: complete repro 🖥️ Issue need to have complete repro provided
Projects
None yet
Development

No branches or pull requests

1 participant