Top "Babeljs" questions

Babel (formerly 6to5) is a JavaScript compiler.

nodemon watch directory for changes

I know how to do nodemon server.js but what if I want to do nodemon ./src I want restart …

javascript node.js npm babeljs
Module not found: Error: Can't resolve './app/index.vue' vue.js component import ES6

i am still practicing to use webpack2 with vue js and babel but bumped to this error. i don't know …

javascript vue.js babeljs webpack-2
RegeneratorRuntime is not defined

I am trying to run Karma-babel-preprocessor and a straight forward ES6 generator: //require('babel/polyfill'); describe("how Generators work", function() { …

javascript karma-runner babeljs karma-babel-preprocessor
Importing node modules from root directory using es6 and babel-node

I'm writing a node app with es6 using babel transpiler. I have 2 files index.js & my-module.js on my …

ecmascript-6 babeljs
require('babel/register') doesn't work

I have isomorphic app written in ES6 on client with Babel transpiler. I want my express server to have the …

javascript node.js express ecmascript-6 babeljs
ES6 `export * from import`?

Is there a syntax using ES6 or ES7 or babel which will allow me to easily bundle together many groups …

javascript ecmascript-6 babeljs
webpack imported module is not a constructor

I created a small JS module which I intend to make an npm package, but for now is just on …

javascript npm webpack babeljs es6-modules
Unexpected "Uncaught TypeError: XXX is not a constructor" errors with Babel and ES6

I am giving a try to Webpack, and am giving a try to the instructions in this tutorial, give or …

javascript ecmascript-6 webpack babeljs
How to remove global "use strict" added by babel

I'm using function form of "use strict" and don't want global form which Babel adds after transpilation. The problem is …

javascript jshint babeljs use-strict
Code inside DOMContentLoaded event not working

I have used <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> </head&…

javascript babeljs addeventlistener domcontentloaded