Top "Babeljs" questions

Babel (formerly 6to5) is a JavaScript compiler.

Re-export default in ES 6 modules

In ES6, is it possible to shorten the following code. I have an App.js file and an index.js. …

javascript ecmascript-6 babeljs es6-modules
How to add a query to a webpack loader with multiple loaders?

I have this Babel loader that's working { test: /\.jsx?$/, loader: 'babel', query: babelSettings, exclude: /node_modules/ }, But now I want …

javascript coffeescript webpack babeljs
Make babel exclude test files

On my build step I'm using babel to transpile the code to es5 (from src to dist). How do I …

node.js babeljs
Vue JS 2.0 not rendering anything?

Using Vue (^2.0.0-rc.6) + Browserify, entry point is index.js: import Vue from 'vue' import App from './containers/App.vue' …

javascript vue.js vuejs2 browserify babeljs
ReactDom is undefined

I am using React with Webpack and Babel. I am getting a runtime error: Uncaught ReferenceError: ReactDom is not defined …

javascript reactjs webpack babeljs react-dom
Difference between Webpack/Babel and react-scripts

Recently i started working on web pack and react-scripts and i would like to know the advantages and disadvantages using …

webpack babeljs react-scripts
ESLint "Unexpected tab character" when "indent" rule set to "tab"

I'm using ESLint with the Airbnb plugin (eslint-config-airbnb) and Babel parser. I've just added the extra rule of using Tab …

javascript indentation babeljs eslint airbnb
What are the main differences between Babel and TypeScript

I know that TypeScript was used to write Angular2, which probably makes it a better choice for someone who wants …

javascript typescript babeljs
Syntax error in IE11 with Webpack, Babel and React

I'm getting a Syntax Error in my React + Redux project in Internet Explorer 11, but I have no idea why it's …

reactjs webpack redux internet-explorer-11 babeljs
how to solve this error You may need an appropriate loader to handle this file type

I got this error with this library https://github.com/react-native-web-community/react-native-web-linear-gradient/ the error link https://github.com/react-native-web-community/react-native-web-linear-gradient/…

reactjs react-native webpack babeljs react-native-web