Comments (7)
Thanks. Neither shorthands found in the project code as well. Hence it uses Laravel Mix and Webpack, with vast amount of under the hood internal Babel dependencies. We just removed all the babel from direct dependencies to test and it looks no build errors happens so far. Let's hope nothing gets broken :).
from website.
Hey @ipa1981! 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 website.
Some of the helper functions we use in Babel's internal processes don't have documentation available. However, you can still check out the source code for @babel/helper-create-regexp-features-plugin
here.
To provide some context, the helper serves as a plugin factory for all supported regular expression (regexp) features. If you enable multiple regexp plugins, it ensures that the actual regexp transform runs only once.
That said, docs PR on helpers is welcome.
from website.
@JLHwung thanks for a quick comment. In my case, I see this helper in package.json
, but no imports in the project and thus I have no idea what it does and whether it should be there or it is safe to remove. Thus I was looking for docs to find a clue, what it solves for the user scope, but maybe you can comment?
"dependencies": {
"@babel/core": "^7.6.4",
"@babel/helper-create-regexp-features-plugin": "^7.14.5",
"@babel/plugin-syntax-dynamic-import": "7.x",
"@babel/plugin-transform-runtime": "^7.14.3",
"@babel/runtime": "^7.14.0",
from website.
@ipa1981 If you are not using this helper, you can safely remove that from your package.json
. I guess it was installed so that the helper, as a transitive dependency of regexp plugins, can be upgraded.
from website.
Thank you. Will try to remove it and see if nothing is broken. It's hard to say if it's used or not. As neither plugin-syntax-dynamic-import
and plugin-transform-runtime
are imported in the code as well, so maybe it's safe. I'm closing this issue to keep the list clean
from website.
As neither plugin-syntax-dynamic-import and plugin-transform-runtime are imported in the code as well
Well they are different, Babel config supports shorthand plugin specifier so plugins: ["syntax-dynamic-import"]
will also import the plugin. But that is not the case for @babel/helper-*
.
As for plugin-syntax-dynamic-import
, you can safely remove it if you upgrade @babel/core
to 7.8.0 or above.
from website.
Related Issues (20)
- Dead anchor link at https://babeljs.io/docs/en/options#ineffective-browserslist-queries HOT 2
- Wrong file mention HOT 1
- Unable to use decorators in repl HOT 2
- "Built-ins" throws on REPL HOT 5
- [Bug]: Documentation for Rails is for Rails 6, but Rails is on Rails 7 HOT 7
- doc index page, jsx example has syntax error HOT 2
- https://babeljs.io/versions is out of date HOT 1
- The repl ("Try it out") feature on the website could really use a reset button HOT 1
- Configure redirects from `/en/` to `/` HOT 2
- [Bug]: @babel/plugin-proposal-dynamic-import docs 404 HOT 2
- Update docs to include the description of what `legacy` actually does for `@babel/plugin-proposal-decorators` HOT 3
- Website HOT 1
- [Bug]: Need to improve documentation for babel-plugin-proposal-decorators HOT 2
- How to get in touch regarding a security concern HOT 3
- REPL confusingly lists deprecated stage-x presets, stage-2 selected by default HOT 3
- REPL: cannot specify rhino as a target HOT 1
- JSX DEV transform is undocumented HOT 2
- [Bug]: "Get browser-compatible JavaScript out" Scrollbar Not working HOT 4
- The section in the docs on Polyfills is unclear 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 website.