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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Windows path delimiter causing issues in @rollup/plugin-babel #14185

Closed
1 task done
atti187 opened this issue Jan 20, 2022 · 1 comment 路 Fixed by #14187
Closed
1 task done

[Bug]: Windows path delimiter causing issues in @rollup/plugin-babel #14185

atti187 opened this issue Jan 20, 2022 · 1 comment 路 Fixed by #14187
Labels
i: needs triage outdated A closed issue/PR that is archived due to age. Recommended to make a new issue

Comments

@atti187
Copy link
Contributor

atti187 commented Jan 20, 2022

馃捇

  • Would you like to work on a fix?

How are you using Babel?

@rollup/plugin-babel

Input code

https://github.com/atti187/rollup-babel-bug

Configuration file name

babel.config.js

Configuration

https://github.com/facebook/create-react-app/tree/main/packages/babel-preset-react-app

Current and expected behavior

Issue is occurring in https://github.com/rollup/plugins/tree/master/packages/babel and described in rollup/plugins#1089.

PR (and discussion) at rollup/plugins#1090...

Environment

System:
OS: Windows 10 10.0.18363
Binaries:
Node: 14.15.5 - C:\Program Files\nodejs\node.EXE
npm: 6.14.11 - C:\Program Files\nodejs\npm.CMD
npmPackages:
babel-preset-react-app: ^10.0.1 => 10.0.1

Possible solution

In

, change to:

return require.resolve(path).replace(/\\/g, "/");

Will provide a PR soon...

Additional context

No response

@babel-bot
Copy link
Collaborator

Hey @atti187! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.

If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite.

atti187 added a commit to atti187/babel that referenced this issue Jan 20, 2022
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Apr 24, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
i: needs triage outdated A closed issue/PR that is archived due to age. Recommended to make a new issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants