Skip to content

Webpack Error: axe-core cannot be extracted #3771

@TheJaredWilcurt

Description

@TheJaredWilcurt

Product

axe-core

Product Version

4.5.0 and 4.5.1

Latest Version

  • I have tested the issue with the latest version of the product

Issue Description

Steps to Reproduce:

I'm using vue-axe in a Vue 3, Vue-CLI project.

  1. Install the Vue-CLI to generate an app from a boilerplate
    • npm install @vue/cli
    • vue create bug-repro > "Default Vue 3"
  2. Follow the instructions in the vue-axe README:
  3. Start webpack
    • npm run serve

Expected:

  • Webpack starts up with no warnings/errors.

Actual:

WARNING  Compiled with 1 warning

warning  in ./node_modules/axe-core/axe.js

Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

Additional information:

Issue was not present in v4.4.3. It is present in v4.5.0 and v4.5.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixBug fixesprA pr has been created for the issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions