Use es6 import/export syntax in feathersjs by using babeljs.

Generally, you can generate a feathers application with es5 require function by using .

Let's start with generating a new app and then configure it with babel for import/export syntax.

Step 1: Generate a new app

// install feathersjs cli on your system globally
npm install -g…

Santanu Prasad Sahoo

Javascript Expert · React · Node · Mongo · PWA · NextJs · FeathersJs · Nginx · Docker

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store