I'm trying to use this plugin "react-optimized-image/plugin" in react (create react app) but I'm getting some ERROR

Viewed 10

I'm trying to make this React Optimized Image works, but it's really difficult.

I have this issue below. ncaught Error: Babel plugin 'react-optimized-image/plugin' not installed or this component could not be recognized by it.

So I did what I saw in this video below. https://www.youtube.com/watch?v=3dzLIy8SPJg&ab_channel=joeAppleton

Instead of the { "plugins": ["babel-plugin-styled-components"] }

I chanded to

{
  "plugins": ["react-optimized-image/plugin"]
}

See below my code.

config-override.js


module.exports = override(
  useBabelRc()
  
);

Ande the .babelrc

  "plugins": ["react-optimized-image/plugin"]
}

I still getting the same error.

would you mind to tell me what I am doing wrong?

Thanks Neto

0 Answers
Related