Skip to content Skip to sidebar Skip to footer
Showing posts with the label Babeljs

Upgrading From Babel 5.8.35 To 6.0.0 Will Not Compile App.js With A Syntaxerror And Unexpected Token

I am in the process of upgrading all my ReactJS components with webpack. In the process I have not … Read more Upgrading From Babel 5.8.35 To 6.0.0 Will Not Compile App.js With A Syntaxerror And Unexpected Token

Exporting A Default & Declaring Anon Function All In One

Here's an example of something I want to do and currently throws an error. I'm not sure I u… Read more Exporting A Default & Declaring Anon Function All In One

Typescript 1.8 - Es2015 Imports In Js Files

I would like to start using Typescript on an Existing Babel project. My goal is to be able to add t… Read more Typescript 1.8 - Es2015 Imports In Js Files

Webpack Is Not Finding My Imports Or Converting My Es6 Code

I'm new to webpack and trying to set up for my client side project. I have created a repo over … Read more Webpack Is Not Finding My Imports Or Converting My Es6 Code

Shorten Es2015 Import Paths

I am working on a large ES2015 project that has a lot of import statements referring to a library i… Read more Shorten Es2015 Import Paths

Babeljs Doesn't Transpile Extended Classes Properly

I've got this example code from MDN (slightly modified to print out results): It works on Goog… Read more Babeljs Doesn't Transpile Extended Classes Properly

Making Export Default Work With Babel, Webpack And Node.js

I can't figure out why my code doesn't work. I am building a ES6 style class and want to e… Read more Making Export Default Work With Babel, Webpack And Node.js

Gulp + Babelify + Browserify Issue

I'm trying to create a gulp task with browserify and babelify. Here is the task: var gulp = req… Read more Gulp + Babelify + Browserify Issue