vue-a11y / vue-axe

Accessibility auditing for Vue.js applications.
https://axe.vue-a11y.com/
MIT License
186 stars 13 forks source link

Dependency error while using with Nuxt: Critical dependency: require function is used in a way in which dependencies cannot be statically extracted #41

Open anqaka opened 3 years ago

anqaka commented 3 years ago

While using vue-axe with Nuxt I have following warning:

./node_modules/axe-core/axe.js 6275:19-26 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

I use Nuxt v2.15.2 It looks like it deasn't break anything, plugin work properly despite this warning

spennine commented 3 years ago

we are are also receiving this error, using react.

./node_modules/axe-core/axe.js Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

and like @anqaka , the library does correctly render/log the violations despite that error.