Top "Babeljs" questions

Babel (formerly 6to5) is a JavaScript compiler.

Whats the difference between babel-preset-es2015 and babel-preset-env?

I'm currently trying to understand about babel configuration, but got confused by babel-preset-**, there are many preset in babel, like …

javascript webpack babeljs
ES2015 Babel String Interpolation not working with apostrophe (but does with double quotes)

I am using babel / grunt to learn some ES2015. According to this post there is no real difference in Javascript …

javascript ecmascript-6 string-interpolation babeljs
Nuxt Error: Syntax Unexpected token export after installation

I am using Nuxt for my Vue project, It was working fine. I deleted my yarn and NPM cache due …

javascript vue.js babeljs nuxt.js babel-loader
What is the difference between babel-core and @babel/core?

What is the difference between babel-core and @babel/core ? Are they the same thing but different versions? If not so, …

babeljs babel-loader babel-jest
Using the dynamic import() function on Node.js

I'm trying to implement basic functionality of a dynamic import inside a Node v10 environment. main.js async function main() { …

javascript node.js babeljs es6-modules dynamic-import
Exporting angularjs module as es6 module

You are supposed to wrap angularjs modules in an IIFE according to the styleguide, which we use https://github.com/…

javascript angularjs babeljs es6-module-loader
Webpack / Babel / React build error: "Unknown option: foo/node_modules/react/react.js.Children"

I'm trying to build a project with webpack and react with this webpack config: var path = require('path'); var webpack = …

reactjs webpack babeljs
Dynamic Imports for Code Splitting cause: ESLint Parsing Error 'import'

I'm using the VueJS Webpack template found here: https://github.com/vuejs-templates/webpack Example Route: const AuthRoute = () => import(/* webpackChunkName: "…

vue.js vuejs2 babeljs eslint vue-router
Async/Await not waiting

I'm running into an issue which I don't fully understand. I feel like there are likely concepts which I haven't …

node.js reactjs webpack babeljs ecmascript-next
How to fix ' Support for the experimental syntax 'exportDefaultFrom' isn't currently enabled' in node

I have a full stack javascript application running on React, Node, express. The problem is export without default is not …

node.js ecmascript-6 babeljs es6-modules babel-loader