[Bug]: Windows path delimiter causing issues in @rollup/plugin-babel #14185
Labels
i: needs triage
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
馃捇
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
babel/packages/babel-plugin-transform-runtime/src/get-runtime-path/index.ts
Line 37 in 35ca17a
Will provide a PR soon...
Additional context
No response
The text was updated successfully, but these errors were encountered: