Questions tagged as 'babeljs'

1
answer

How to transpile files ES6 to ES5 with Babel?

I'm trying to follow a series of examples to learn ES6, but I can not get it to transpile correctly. In my case I use the following line to do it babel --watch index.js --out-file index_ES5.js My file .eslintrc has the following c...
asked by 26.08.2017 / 20:48
1
answer

WebPack: Module parse failed, babel-loader

I am new to this, I am learning react, but I have the following error I do not know if it is syntax in my webpackconfig or any property, dependency, I am missing. helpme .. webpack.config.js var HtmlWebpackPlugin = require('html-webpa...
asked by 02.03.2016 / 15:22
1
answer

Do not transpile file to use babel

Trying to learn the new things that ES6 brings, I am following steps to transpile my first file, but I can not get it; I do not see any error, nothing bad appears when trying to do the operation. I am following the steps on the page, and foll...
asked by 05.07.2017 / 17:23
1
answer

Configure Babel in my work team

I am trying to follow some tutorials to learn the improvements and changes that ES6 brings, but I have taken this with the use of a transpiler, in this case, Babel.js. On the Babel page now to install it, they recommend, for the CLI , t...
asked by 05.07.2017 / 05:50
1
answer

React animations error # 119

I am trying to make use of the ReactCSSTransitionGroup library that they explain in the official React documentation. I'm copying this code to try. But still it does not work. I have this error in the console: Uncaught Error: Minified Reac...
asked by 25.11.2016 / 19:38
1
answer

REACTJS, router reacting LINK stops working

<Link to={{ pathname: '${match.url}/individual/${ innerValue.name }', state: { membe...
asked by 07.09.2018 / 05:08
0
answers

Configuring Babel with target presets (browser support)

I just started getting a bit more into the babel setting when I had to start using babel-polyfill . Well, my doubt at first seems obvious but I can not find it in the docs. I have the following configuration, where I support t...
asked by 04.09.2018 / 17:13
0
answers

Audit fix error 'to fix them, or' npm audit 'when trying to install some packages with NPM?

first try to re-write npm and un-install it and install it again with the npm command. and install the following following packages again before installing these: $ npm init -y $ npm i -g [email protected] $ npm i -D babel-core@5...
asked by 28.07.2018 / 02:20
0
answers

Webpack, ReactJS and Babel

I am new in Webpack and my doubt is that when I install the DevDependencies such as the webpack itself generates the folder Node_Modules in this folder there are more development dependencies, so I want to use React and I al...
asked by 23.03.2018 / 18:25
0
answers

import "something" from 'parent-directory / myfile.js "

I need to import my db.js file from a higher directory, I do not know how to do it and I can not find information on the Internet. What I want is something like this: import db from './db'     
asked by 31.05.2017 / 10:21