Babel
Here are 5,943 public repositories matching this topic...
What operating system are you using?
OSX 10.11.5
What version of N1 are you using?
Version 0.4.47-3a2a94c (0.4.47-3a2a94c)
Bug?
Do you have any third-party plugins installed? If so, which
No
Is the issue related to a specific email provider (Gmail, Exchange, etc.)?
No
Is the issue reproducible with a particular attachment, message, signature, etc?
- Crea
Too wide (and falsy) segregation of GraphQL Types and Resolvers
The first example of this is new ObjectType in src/data/queries/index.js importing fields.
Fields should be taken in context of parent type, not as standalone information.
This can ensure some users that custom types cannot have own field resolvers which is false.
In fact, much of fields which can have own resolvers
As of #2316, the upcoming v3 release has a built-in debug command. I've updated two of the existing debugging recipes but I'm not a WebStorm user, so this recipe still needs updating: https://github.com/avajs/ava/blob/master/docs/recipes/debugging-with-webstorm.md
Hi, I'm a Redux maintainer. I'd like to offer a couple suggestions.
Problem
The current Redux example implementation shows use of reducers with "hand-written" immutable update logic, and has a somewhat complex store configuration. In addition, the project currently uses a "folder-by-type" folder structure.
Proposed Solution
The project should switch to using the official [Redux
-
Updated
Dec 27, 2019 - JavaScript
I cant view data, properties or something in vue devtools. Only blank page
Open devtools, select vue tab and navigate into components:
- Node version: 10.16.0
- NPM version: 6.9.0
- vue-cli version: (if necessary)
- Operating System: Windows 10 X64
I saw that many babel plugins used different ways to write their tests
I would have expected this handbook to propose at least one way to write unit tests, and if possible, ones that we can easily make run on a public CI such as travis.
Thanks
Add runnable example
Describe the feature
/*! Copyright (c) 2020 Foo */ should not be removed when minifying
Babel plugin or link to the feature description
Expected Behavior
announce func from the AnnounceContext accepts 3 arguments message, mode, timeout.
timeout should work as well.
Actual Behavior
announce func from the AnnounceContext only accepts 2 arguments message, mode
URL, s
Babel Macro
It would be nice to have a babel macro that automatically runs the babel plugin to remove the runtime. That way, this project would work out of the box with "zero" config tools like create-react-app.
I'm thinking it could be something like:
import {html} from 'htm/preact/macro'This is similar conceptually to CSS-IN-JS libraries providing a macro for their tools. See https://e
创建插件bug
DESC
在v2.2.12版本上,通过 thinkjs plugin xxx 创建的插件,在经过babel编译时存在问题,编译后的代码,无法在thinkjs系统中使用,其依赖和编译命令为:
"dependencies": {
"babel-runtime": "6.x.x"
},
"devDependencies": {
"mocha": "1.20.1",
"istanbul": "0.4.0",
"babel-cli": "6.x.x",
"babel-preset-es2015-loose": "6.x.x",
"babel-preset-stage-1": "6.x.x",
"babel-plugin-transform-runtime": "6.x.x",
"ba
IMO this is confusing, while the docs suggest to edit the port forwarding in nwb.config.js this configuration will be overridden unless the same argument is specified in the command.
To override the default configuration I had both to define a nwb.config.js
moduIs there any particular way to document overloaded constructor?
For example, I would like to document the following constructor:
class Pokemon{
/**
* @param {Object} options - some options
*//**
* @param {String} name - pokemon's name
*/
constructor(arg0){
const options = typeof arg0 === 'object' ? arg0 : {name: arg0};
//do something with
I've used Poi in the past to for Vue projects, but just recently decided to try it out with react. The current documentation is almost completely devoid of any hints as to how to get started. I ended up using an older version of Poi to get up and running.
I think if this project wants to keep up with the other framework specific tools it needs to atleast document what's changed since v9~
I k
I couldn't find any place in the documentation that would showcase all possible configurational parameters that can be used inside backpack.config.js file. Is it possible to add not only config.entry.main but also showcase all other available options with a brief explanation of its purpose?
I'm submitting a feature request
I was fairly certain this was a thing, but it took me a long time to confirm to coworkers (and discover the nuances of using .babelrc vs. babel.config.js in the context babel-loader.
I think it's a good idea to document the fact that the config file is read automatically.
Typing print() in the jscodeshift transformer triggers browser print dialog
To Reproduce
Steps to reproduce the behavior:
- Specify to use jscodeshift
- Type
print()in bottom left corner - See the bug
Expected behavior
Shouldn't do that
Browser (please complete the following information):
- OS: OS X
- Browser Chrome
- Version 78.0.3904.108
**astexplorer
legacyDecorators parser option should be documented.
Since probably 90%+ of the users will want to have Babel and the autoprefixer it would be nice to ship a preset (using group()) that sets some blocks configured in a best-practice manner:
- Babel with
babel-preset-env(targetlast 2 versionsfor instance) - PostCSS with autoprefixer (similar target as set for
babel-preset-env) - Set
process.env.NODE_ENV(in output code, using `defin
-
Updated
Apr 3, 2020 - TypeScript
Auto suggestions of file name not working in VSCode when importing (alias name / ) Example : @root/
VSCode not giving auto suggestions of file name inside the directory once we are using alias name with babel module resolver plugin for react native .
I am having .js file inside the path @components but it is simply giving the suggestion as
@components/ showing the suggestion as {} react,{} props,{} react-native
My .babelrc file :
{
"presets": [
"react-native"
],
The features section in the docs states that nodemon is available in the project, when it's clearly not. It's not added as a dependency or as a command in the project. Maybe remove this from the docs or actually add nodemon?
Under branch 10-player-input, inside app/index.css, https://github.com/tylermcginnis/react-course/blob/10-player-input/app/index.css:
Under this btn class: text-decoration: uppercase; should have been text-transform: uppercase;
.btn {
padding: 10px;
text-decoration: uppercase;
letter-spacing: .25em;
border-radius: 3px;
border: none;
font-size: 16px;
display: f
-
Updated
Nov 3, 2017 - JavaScript
add mobx example
I'm using this project and want to add mobx for state management.
I'm happy to PR documentation/example with some guidance!
Thoughts? @tirthbodawala
Created by Sebastian McKenzie, James Kyle, Henry Zhu, Logan Smyth, Daniel Tschinder
Released September 28, 2014
- Organization
- babel
- Website
- babeljs.io

Feature Request
import.metais Stage 4!This means that it should be enabled by default in🎉
@babel/parserIt should be done similarly to this commit: babel/babel@c3388ea
this.hasPluginand `this.expec