I’m updating the article now, because I’m also using Webpack aliases now, so I am seeing this error, and the fix is different now in April 2020.

Install:

Laravel-mix (aka Webpack config)

.eslintrc.json

source: https://github.com/benmosher/eslint-plugin-import/issues/496

This has fixed it in mine, today.

--

--

--

I prefer to work near ES6+, node.js, microservices, Neo4j, React, React Native; I compose functions and avoid classes unless private state is desired.

Love podcasts or audiobooks? Learn on the go with our new app.

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
Adam Mackintosh

Adam Mackintosh

I prefer to work near ES6+, node.js, microservices, Neo4j, React, React Native; I compose functions and avoid classes unless private state is desired.

More from Medium

Happiness vs. Joy: The Case for Prioritizing Joy in Your Daily Life

disquieting sentences (house — a rest)

Let’s Begin

I am feeling low