Top "Babeljs" questions

Babel (formerly 6to5) is a JavaScript compiler.

How to publish a module written in ES6 to NPM?

I was about to publish a module to NPM, when I thought about rewriting it in ES6, to both future-proof …

javascript node.js npm ecmascript-6 babeljs
Webpack not converting ES6 to ES5

I'm very new to Webpack. I think I'm doing it incorrectly. I would like to convert an ES6 function to …

node.js webpack babeljs
Module build failed (from ./node_modules/babel-loader/lib/index.js): TypeError: Cannot read property 'bindings' of null

I've got an error while building a project: Module build failed (from ./node_modules/babel-loader/lib/index.js): TypeError: Cannot …

webpack ecmascript-6 babeljs babel-loader
Browserify, Babel 6, Gulp - Unexpected token on spread operator

I'm trying to get my Browserify/Babelify/Gulp working in my project, but it won't take the spread operator. I …

javascript gulp ecmascript-6 browserify babeljs
How to set up Babel 6 stage 0 with React and Webpack

My understanding from the docs I see that Babel 6 has three presets for now: es2015, react and stage-x. I read …

reactjs config ecmascript-6 webpack babeljs
Debugging with webpack, ES6 and Babel

This seems like something that should have been relatively simple to achieve, but alas. I have ES6 class: 'use strict'; …

javascript debugging ecmascript-6 webpack babeljs
`regeneratorRuntime` is not defined when running Jest test

The title pretty much explains what I'm facing. I'm trying to test a React component that has some state, and …

reactjs babeljs jestjs babel-polyfill babel-jest
How to compile a project properly with Babel and Grunt

I'm trying to play with Babel, but it doesn't work well for me. My project is simple |-project/ |---src/ |-----index.…

javascript gruntjs babeljs
Can't resolve 'babel-loader'

I am trying to configure my first node react app. I keep getting an error that says "Can't resolve babel-loader". …

node.js webpack babeljs node-modules webpack-2