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

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

Reactjs Linting (eslint) And Transpiling (babel) Error On Shared Code Using Monorepo (lerna + Yarn Workspaces)

I´m building a monorepo using yarn workspaces, lerna and 2 different projects: ux - a React compo… Read more Reactjs Linting (eslint) And Transpiling (babel) Error On Shared Code Using Monorepo (lerna + Yarn Workspaces)

Jest Typeerror: Path Must Be A String. Received Undefined

Below settings for my package.json If I run from command line npm test all jest test cases are exec… Read more Jest Typeerror: Path Must Be A String. Received Undefined

Can I Run A Gulp Task Written In Es6 Using Node?

I'm using ES6 on Node through Babel. I can run ES6 scripts using a run-babel script. So, this w… Read more Can I Run A Gulp Task Written In Es6 Using Node?

Webpack + Babel - React, Unexpected Token 'import'

I'm trying to make index.js work with es2015. Before directing me to .babelrc, note that I have… Read more Webpack + Babel - React, Unexpected Token 'import'

Why Does Production Build Of React App (with Webpack And Babel) Use Wrong Development Env With Hmr, Which Causes Errors?

I'm trying to create a production build of my React project, but it picks the wrong configurati… Read more Why Does Production Build Of React App (with Webpack And Babel) Use Wrong Development Env With Hmr, Which Causes Errors?

Grunt Babel Taking 6 Seconds Per File

I'm trying to use Babel in my grunt build process to transpile my .js project files from ES6 to… Read more Grunt Babel Taking 6 Seconds Per File

Can't Get Browserify To Use Babel-plugin-transform-class-properties

I'm trying to use MobX in my project and I am attempting to use class properties. However, when… Read more Can't Get Browserify To Use Babel-plugin-transform-class-properties