When importing AniLink the compiler throws a warning. When I remove import AniLink from 'gatsby-plugin-transition-link/AniLink'; the warning goes away. The message:
Compiled with 1 warnings
warning in ./node_modules/gatsby-plugin-transition-link/components/Layout.js
Critical dependency: the request of a dependency is an expression
Steps to reproduce:
yarn add gatsby-plugin-transition-link gsap then add import AniLink from 'gatsby-plugin-transition-link/AniLink'; in your component.
When importing AniLink the compiler throws a warning. When I remove
import AniLink from 'gatsby-plugin-transition-link/AniLink';
the warning goes away. The message:Steps to reproduce:
yarn add gatsby-plugin-transition-link gsap
then addimport AniLink from 'gatsby-plugin-transition-link/AniLink';
in your component.What should happen:
The compiler should throw zero warnings.
What happens:
The compiler should throws a warning.
Other infos