Comments (5)
Hey @rauschma! 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.
from babel.
zloirock/core-js@913625f
Have you enabled corejs? It seems they already support it.
from babel.
Thanks! I tried both of the following import statements:
import 'core-js/actual/regexp/constructor.js';
import 'core-js/actual/index.js';
But both failed as follows:
SyntaxError: Invalid regular expression:
/^(?<year>[0-9]{4})-(?<month>[0-9]{2})|(?<month>[0-9]{2})\/(?<year>[0-9]{4})$/:
Duplicate capture group name
I can create an issue for core-js, but it may make sense to document that the Babel plugin only handles RegExp literals.
from babel.
hi
from babel.
Related Issues (20)
- [Bug]: When I pull the Babel source code and execute the make bootstrap command, a syntax error is reported HOT 4
- [Bug]: No strict library versions in package.json HOT 8
- Convert remaning runtime helpers to TypeScript HOT 22
- [Bug]: @babel/traverse incorrect constantViolations with destructuring HOT 1
- [Bug]: Incorrect print result of TSModuleDeclaration HOT 7
- [Bug]: transitive dependency of @ampproject/remapping flagged as malware HOT 3
- [Bug]: path.scope.getBinding(..) has fake referencePaths after some manipulations HOT 2
- Runner Keeps Running in Background HOT 3
- [Bug]: `@babel/plugin-proposal-json-module` may output some ESM code (or even call `undefined` as if it's a function) to CJS outputs HOT 5
- Error when parsing `eval` in `.d.ts` HOT 1
- [Bug]: 8.0.0-alpha.9 [commander] TypeError: Cannot read properties of undefined (reading 'program') HOT 3
- [Bug]: @babel/preset-env 设置 useBuiltIns 为 usage 时报下面这个错 HOT 3
- [Bug]: @babel/preset-env 设置 useBuiltIns 为 usage 时报下面这个错 HOT 1
- [Bug]: Runtime error after upgrade @babel/node to 7.24.6 HOT 3
- [Bug]: error "unknown option" raised when using @babel/node as CLI HOT 1
- [Bug]: Circular dependencies: `@babel/core` and `@babel/helper-module-transforms` HOT 1
- [Bug]: @babel/helper-plugin-utils@npm:7.24.7: No candidates found HOT 4
- [Bug]: No matching version found for @babel/helper-string-parser@^7.24.7 HOT 4
- [Bug]: export import does not export in Babel (works in TypeScript) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from babel.